BASELINE NowYouCanUse.com
Limited Availability Scrolling
id: scroll-into-view-container

scrollIntoView() container

The container option of the scrollIntoView() method sets which ancestor scroll container to scroll. The "nearest" value scrolls only the nearest ancestor, instead of the default "all".
Baseline Status: This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
140
Supported
Mozilla Firefox
Unsupported
Apple Safari
Unsupported
Microsoft Edge
140
Supported
Mobile Browser Engine Support
Chrome Android
140
Firefox Android
Safari iOS
Specifications and References