← Back to release summary

Treat Document Level Wheel/Mousewheel Event Listeners as Passive

Category
DOM
Type
New or changed feature
Status
Enabled by default (Chrome 73)
Intent stage
None

Summary

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

Standards & signals

Docs: https://docs.google.com/document/d/1dLxnzyixmR9MeHXE75Uz2nIVA0PaEjN4W3V_-df0sYI/edit?usp=sharing https://github.com/sahel-sh/Document-level-passive-wheel-event-listeners/blob/master/Explainer.md

View on chromestatus.com