Baseline Widely Scrolling
Scroll methods on elements
The scroll() and scrollBy() methods change the scroll position of overflow content within an element. Similar to setting scrollTop and scrollLeft properties, but with options setting whether the scroll should animate smoothly or jump. Note that scrollTo() is an alias for scroll().
Baseline Status
Widely Available
Since 2020-09-16
First Core Launch
Firefox 36
2015-02-24
Core-3 Stability
2,031d (5.6y)
Last: Safari (2020-09-16)
BCD Keys Mapped
35
Group: Scrolling
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Firefox | desktop | 36 | 2015-02-24 |
| Firefox for Android | mobile | 36 | 2015-02-27 |
| Chrome | desktop | 61 | 2017-09-05 |
| Chrome Android | mobile | 61 | 2017-09-05 |
| Edge | desktop | 79 | 2020-01-15 |
| Safari | desktop | 14 | 2020-09-16 |
| Safari on iOS | mobile | 14 | 2020-09-16 |