scrollIntoView()
Widely available since 2023-03-16
The scrollIntoView()
method scrolls an element's ancestor containers such that the element is visible to the user.
Learn more
Specifications
Browser support (view on caniuse.com)
- Chrome 61 Released on 2017-09-05
- Chrome Android 61 Released on 2017-09-05
- Edge 79 Released on 2020-01-15
- Firefox 36 Released on 2015-02-24
- Firefox for Android 36 Released on 2015-02-27
- Safari 14 Released on 2020-09-16
- Safari on iOS 14 Released on 2020-09-16
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist