Scroll methods on elements (scroll, scrollTo, scrollBy)External Link

BaselineWidely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2023.

Methods to change the scroll position of an element. Similar to setting scrollTop & scrollLeft properties, but also allows options to be passed to define the scroll behavior.

IE
Edge
Firefox
Chrome
Safari
Safari iOS
Opera Mini
Chrome Android
Android Browser
Samsung Internet
Globals: 97.37% of all users can use this feature, 97.3% fully supported, 0.07% partially supported
✓Supported
✗Not supported
Partial support