Closed Bug 1614358 Opened 5 years ago Closed 2 years ago

Flings stop when mouse goes over map on https://outbreak.cc/

Categories

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

Unspecified
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 1168182

People

(Reporter: jrmuizel, Unassigned)

References

()

Details

On Mac when the mouse goes over the map the fling stops immediately. This doesn't happen in Chrome. The fling continues until it has no intertia left.

OS: Unspecified → macOS
Version: unspecified → Trunk

I can reproduce. Not sure offhand what's causing it, but most likely the wheel events are getting split into separate transactions/blocks with their own hit-tests, so as soon as the mouse is over the map the wheel events start going there, and the map's zooming feature takes over and cancels the wheel-scrolling. By contrast, in Chrome, all the wheel events in the "fling" are part of a single transaction and so this doesn't happen.

Just skimming the relevant Gecko code (stuff that calls this function and nearby codepaths) I would expect Gecko to behave the way Chrome does, so we can look into why it's not.

P3 for now unless it happens on other websites too.

Priority: -- → P3
See Also: → 1746304
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1168182
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.