The event handler for the wheel event when the mouse is over the volume wheel calls preventDefault() to stop scroll behavior when a user rolls the mouse wheel while the pointer is over the volume control (as this should adjust the volume instead). As of v0.12.0, the following message is logged in Chrome:
index.jsx:6 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312
The event handler for the
wheel
event when the mouse is over the volume wheel callspreventDefault()
to stop scroll behavior when a user rolls the mouse wheel while the pointer is over the volume control (as this should adjust the volume instead). As of v0.12.0, the following message is logged in Chrome:See https://github.com/sahel-sh/Document-level-passive-wheel-event-listeners/blob/master/Explainer.md
Fix should be easy, just pass
passive: false
when registering thewheel
event listener.