Contact emailsawogbem...@google.com, arg...@google.com Explainer https://github.com/argyleink/ScrollSnapExplainers/tree/main/js-snapChanging
Specificationhttps://drafts.csswg.org/css-scroll-snap-2/#snap-events Summary Snapchanging is a JavaScript event that indicates which elements a scroller will snap to. Scroll snap is a feature in web browsers which restricts the scroll positions that scroll containers can rest at. Scroll containers "snap" to these positions. Snapchanging allows developers to create user experiences that rely on predicting where a scroll container will snap to in a reliable manner. Blink componentBlink>Scroll <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EScroll> Motivation Scroll snap is a web feature[1] which restricts the scroll positions at which a scroll container may rest after a scrolling action is complete. Scroll containers "snap" to valid scroll positions. Snapchanging would allow web developers to make their web pages responsive to anticipated snap positions, giving them the opportunity to style or animate "snap targets" in line with the browser's eventual snapping action. [1] https://drafts.csswg.org/css-scroll-snap/ Initial public proposal https://github.com/w3c/csswg-drafts/issues/156#issuecomment-695085852 TAG reviewNone TAG review statusPending Risks Interoperability and Compatibility None *Gecko*: No signal *WebKit*: No signal *Web developers*: No signals *Other signals*: WebView application risks Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications? None Debuggability None Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> ?No Flag name on chrome://flagsNone Finch feature nameNone Non-finch justificationNone Requires code in //chrome?False Tracking bughttps://crbug.com/1494892 Estimated milestones No milestones specified Link to entry on the Chrome Platform Status https://chromestatus.com/feature/5159140364386304 This intent message was generated by Chrome Platform Status <https://chromestatus.com/>. -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAA6pwF7tYZgc8A6Kh5ZczDhjP%2BxyQ0_fWbxNFSPgs-az0nc4Jg%40mail.gmail.com.