Contact emails
fla...@chromium.org,
zhoupe...@bytedance.com
Specification
https://www.w3.org/TR/css-overscroll-1
Summary
When you set `overscroll-behavior` to a value other than `auto`, the browser should not perform scroll chaining. We respect this for mouse or touch scrolling, however keyboard scrolls were ignoring it. This change makes keyboard scrolling respect overscroll-behavior as well.
Blink component
Blink>Scroll
Web Feature ID
overscroll-behavior
Risks
Interoperability and Compatibility
Both Firefox and Safari already respect overscroll-behavior when performing keyboard scrolls so the compat risk should be minimal as this will make Chrome behave interoperably with them.
Gecko: Shipped/Shipping
WebKit: Shipped/Shipping
Web developers: No signals
Other signals:
Activation
Developers are already using overscroll-behavior. Likely keyboard scrolling has not been common enough to be a big concern but developers won't need to change their code to take advantage of this.
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?
No information provided
Debuggability
The overscroll-behavior property can easily be inspected in dev tools.
Will this feature be supported on all six Blink platforms
(Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
Yes
Yes
https://wpt.fyi/results/css/css-overscroll-behavior?label=master&label=experimental&aligned&q=overscroll-behavior-keyboard-scroll
Tracking bug
https://issues.chromium.org/issues/41378182
Estimated milestones
| Shipping on desktop | 144 |
| Shipping on Android | 144 |
| Shipping on WebView | 144 |
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5099117340655616