Closed
Bug 1501921
Opened 7 years ago
Closed 7 years ago
mouseenter/mouseleave are not fired on tap in Gecko
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
INVALID
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | affected |
People
(Reporter: karlcow, Unassigned)
References
Details
(Whiteboard: [webcompat])
To reproduce.
1. Enable touch events on Firefox (Through responsive design mode if you wish)
2. Go to https://w3c.github.io/uievents/tools/mouse-event-viewer.html
3. Tap ONCE green area.
The sequence will be:
1. mousedown
2. mousemove
3. mouseup
Do the same thing with chrome with touch mode on
The sequence will be
1. mouseover
2. mouseenter (*)
3. mousemove
4. mousedown
5. mouseup
The (*) mouseenter is why I'm reporting this here.
This might create a Webcompat issue on the site (I'm not 100% sure yet).
https://webcompat.com/issues/14287
Brian Birtles helped me find the references here. (Thanks!)
It doesn't seem to be clearly defined in any of these places:
https://w3c.github.io/uievents/#event-type-mouseenter
https://w3c.github.io/pointerevents/#the-pointerenter-event
https://w3c.github.io/touch-events/#mouse-events
Chrome added it in https://bugs.chromium.org/p/chromium/issues/detail?id=457497
see the discussion in
* https://lists.w3.org/Archives/Public/public-touchevents/2015Feb/0024.html
* https://www.w3.org/2015/02/17-touchevents-minutes.html#item01
| Reporter | ||
Comment 1•7 years ago
|
||
hmmm… spoke too fast?
On an actual windows machine with a touch screen, mouseenter is fired on tap.
But it's not on RDM with touch events on.
| Reporter | ||
Comment 2•7 years ago
|
||
so on Firefox Android device I checked with
https://w3c.github.io/uievents/tools/mouse-event-viewer.html and mouseenter is fired. So that's not the cause of the issue and I guess we can close this issue. as invalid because it's already working.
Sorry about that.
| Reporter | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Comment 3•7 years ago
|
||
File a devtools issue on RDM? I've heard it has other event handling issues too.
| Reporter | ||
Comment 4•7 years ago
|
||
I will do Olli. Thanks!
| Reporter | ||
Comment 5•7 years ago
|
||
Reported in Bug 1501939
You need to log in
before you can comment on or make changes to this bug.
Description
•