Closed Bug 1644952 Opened 4 years ago Closed 4 years ago

APZ Direct Manipulation breaks scroll-to-zoom on JHU COVID-19 Tracker Website

Categories

(Core :: Panning and Zooming, defect, P3)

79 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1653700

People

(Reporter: sraghuvanshi, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0

Steps to reproduce:

I am on Windows 10. I have the following about:config settings enabled:
apz.windows.use_direct_manipulation to true
apz.allow_zooming to true

Navigate to: https://www.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6

Then, try to scroll on the map to zoom in and out, and also try pinching-to-zoom.

Actual results:

When scrolling on the map, nothing happens.

When pinching to zoom on the map, the entire webpage gets zoomed in (like zooming in on a picture of the webpage).

Expected results:

Scrolling up or down on the map should change the zoom. (Try going to the same URL in Chrome).

In Chrome, pinching to zoom has the same behavior as scrolling does. (I don't think we need to change our behavior to match Chrome in this case, but I just want to document the disparity).

Summary: APZ Direct Manipulation breaks scroll-to-zoom and pinch-to-zoom on COVID-19 Tracker Website → APZ Direct Manipulation breaks scroll-to-zoom on JHU COVID-19 Tracker Website
Severity: -- → S3
Component: Untriaged → Panning and Zooming
Priority: -- → P3
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Ever confirmed: true

Seems to be specific to the direct manipulation code.

Looks like the page listens for the DOMMouseScroll event which is firefox specific. On Chrome it doesn't listen for this event.

Does this mean it's an issue with the website, and not with Firefox?

Flags: needinfo?(tnikkel)

No, I was not meaning to say that it was a website issue, sorry. I don't know what the problem is yet. It was just something I noticed which might be a good place to start debugging what is going on.

Flags: needinfo?(tnikkel)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.