Scroll snap events
Limited availability
The scrollsnapchanging
and scrollsnapchange
events fire when a scroll gesture changes the selected scroll snap target.
To learn more, see
Document: scrollsnapchange event,
Document: scrollsnapchanging event,
Element: scrollsnapchange event,
Element: scrollsnapchanging event,
SnapEvent,
SnapEvent: SnapEvent() constructor,
SnapEvent: snapTargetBlock property,
SnapEvent: snapTargetInline property,
Window: scrollsnapchange event,
Window: scrollsnapchanging event at MDN.
Compatibility
- Chrome 129 Released on 2024-09-17
- Chrome Android 129 Released on 2024-09-17
- Edge 129 Released on 2024-09-19
- Firefox ❌ See bugzil.la/1843961
- Firefox for Android ❌ See bugzil.la/1843961
- Safari ❌ Search for bugs Search for standards position
- Safari on iOS ❌ Search for bugs Search for standards position