Intent to Prototype: overscroll-behavior: chain

67 views
Skip to first unread message

Chromestatus

unread,
10:23 AM (6 hours ago) 10:23 AM
to blin...@chromium.org, vmp...@google.com
Contact emails
vmp...@google.com

Explainer
No information provided

Specification
No information provided

Summary
overscroll-behavior currently has 3 values: none, auto, and contain. These values affect 2 independent effects: scroll propagation and local border effect (e.g. overscroll stretch). none: no propagation, no local effect auto: propagation, local effect contain: no propagation, local effect This feature tracks a new value to complete the set: chain: propagation, no local effect This is useful for effects like side menus implemented as scrollers. We want to bring the menu in and when it hits the edge it doesn't overscroll (stretch/translate). However, it would then allow scroll chaining to the ancestor. Initial proposal: https://github.com/w3c/csswg-drafts/issues/13370

Blink component
Blink>Scroll

Web Feature ID
overscroll-behavior

Motivation
This feature is useful for effects like side menus implemented as scrollers. We want to bring the menu in and when it hits the edge it doesn't overscroll (stretch/translate). However, it would then allow scroll chaining to the ancestor. There may be other effects that want to prevent overscroll effects but allow chaning

Initial public proposal
https://github.com/w3c/csswg-drafts/issues/13370

Goals for experimentation
None

Requires code in //chrome?
False

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5176802466201600?gate=4793180349399040

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages