Treat Document Level Wheel/Mousewheel Event Listeners as Passive

The wheel/mousewheel event listeners that are registered on document level targets (window.document, window.document.body, or window) will be treated as passive if not specified as otherwise and calling preventDefault() inside such listeners will be ignored. This is the wheel version of the scrolling intervention which is shipped in Chrome 56: https://developers.google.com/web/updates/2017/01/scrolling-intervention

Comments

With this intervention wheel/touchpad scrolling won't be blocked on document level wheel event listeners that do not need to call preventDefault() on wheel events. Our experiments show that the intervention reduces the end-to-end delay between the time that user starts scrolling by wheel(touchpad) and the time that they see the offset change on screen by 5%.

Documentation

Status in Chromium

Blink>Input


Enabled by default (tracking bug) in:

  • Chrome for desktop release 73
  • Chrome for Android release 73
  • Android WebView release 73

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Last updated on 2019-01-22