← Back to release summary

Intersection Observer Scroll Margin

Category
Miscellaneous
Type
Chromium catches up
Status
Enabled by default (Chrome 120)
Intent stage
None

Summary

Intersection Observer scrollMargin allows developers to observe targets inside nested scroll containers that are currently clipped away by the scroll containers. This is achieved by expanding the container's clipping rect by the scrollMargin when calculating the intersection.

Standards & signals

View on chromestatus.com