Can’t PreventDefault Inside Passive Event Listener
The simplest way to fix this issue is to mark your events passive. In the case of a mouse wheel scroll event, you can use the ‘passive’ option and prevent default. If your target is passive, the scroll event will…