Zoom controls on google maps are way too sensitive
Categories
(Core :: DOM: Events, defect, P5)
Tracking
()
People
(Reporter: sicking, Unassigned)
References
Details
(Keywords: site-compat)
Comment 1•9 years ago
|
||
Reporter | ||
Comment 3•9 years ago
|
||
Comment 4•5 years ago
|
||
Trying to reproduce this, but I don't think I see the problem ...
Comment 5•4 years ago
|
||
I can reproduce this on Firefox 83 on Arch Linux using Wayland which appears to dispatch with DOM_DELTA_PIXEL. Firefox under X11 (by unsetting MOZ_ENABLE_WAYLAND) does indeed dispatch wheel events with DOM_DELTA_LINE.
Running this code in the web console while on Google Maps reveals a difference between Firefox Wayland and Chrome which both dispatch with DOM_DELTA_PIXEL:
DELTA_Y = Object.getOwnPropertyDescriptor(WheelEvent.prototype, "deltaY").get
Object.defineProperty(WheelEvent.prototype, "deltaY", { configurable: true, enumerable: true, get() { console.log(`deltaY! deltaMode = ${this.deltaMode}, deltaY = ${DELTA_Y.call(this)}`); return DELTA_Y.call(this); } })
This is the sort of console output produced by Firefox on Wayland:
deltaY! deltaMode = 0, deltaY = 0.02105712890625
deltaY! deltaMode = 0, deltaY = 0.01409912109375
deltaY! deltaMode = 0, deltaY = 0.0069580078125
deltaY! deltaMode = 0, deltaY = 0.01409912109375
deltaY! deltaMode = 0, deltaY = 0.0069580078125
Compared to Chrome:
deltaY! deltaMode = 0, deltaY = -4
deltaY! deltaMode = 0, deltaY = -3
deltaY! deltaMode = 0, deltaY = -2
deltaY! deltaMode = 0, deltaY = -4
deltaY! deltaMode = 0, deltaY = -3
I can confirm I've been experiencing this on AsusLaptop, Xubuntu20.04, X11, Firefox-83.0 for quite some time. It's maddening!
I used to experience this bug, as recently as probably a month or two ago, and now I don't. Two-finger scrolling with a trackpad works as expected. I'm not sure what (if anything) changed, nor when. On 92.0b7 right now. (MacBook Air, Apple Silicon.)
Updated•2 years ago
|
Description
•