Flings stop when mouse goes over map on https://outbreak.cc/
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
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.
Updated•5 years ago
|
Comment 1•5 years ago
|
||
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.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•