Open Bug 1869409 Opened 2 years ago Updated 2 years ago

Add a way to force standard behavior of mouse scroll wheel

Categories

(Core :: DOM: UI Events & Focus Handling, enhancement)

Firefox 102
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: mozilla, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5786.212 Safari/537.36

Steps to reproduce:

  1. Visited www.openstreetmap.org
  2. Tried to scroll map using wheel

Actual results:

Instead it zoomed

Expected results:

It should have scrolled up or down.

It looks like openstreetmap, as well as other mapping sites like to intercept mouse wheel events using java script, and assign different behavior. Unfortunately, in this case, disabling javascript altogether using the Noscript extension is not an option, as that would disable the map altogether.

There should be a way for the user to enforce standard behavior, such as pressing Windows key together with scrolling to generate a scroll event that is not interceptable by javascript. Multiple modifiers (such as Win+Shift) should be allowed to have uninterceptable left/right scrolling.
Maybe have the "uninterceptable" modifier be configurable via about:config?

Component: Untriaged → DOM: UI Events & Focus Handling
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.