---
id: "scroll-into-view-container"
kind: "web-feature"
canonical: "https://timetostable.com/feature/scroll-into-view-container"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# scrollIntoView() container (`scroll-into-view-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".

- **Group**: Scrolling
- **Baseline**: Limited Availability
- **Specification**: https://drafts.csswg.org/cssom-view-1/#dom-scrollintoviewoptions-container
- **Constituent BCD keys**: 1

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 140 | 2025-09-02 |
| Chrome Android | 140 | 2025-09-02 |
| Edge | 140 | 2025-09-05 |

