You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] The clientX/Y values in drag events are always 0 in firefox #17761
The clientX, clientY, pageX, and pageY values returned in the drag events (dragover, drop, etc) are always 0 in Firefox. I'm not sure what happens here because they are showing correctly in the mouse events. Interestingly though, screenX and screenY are showing the correct values.
When I test the above code manually in a real browser (Firefox), it shows the correct values.
We're using those values in the dragover event to calculate some stuff in our app, and this bug is preventing us from testing them in Firefox. It's working fine in other browsers though (chromium, safari).
It might be worth noting that there's a long-standing bug in Firefox that might be related in some way?
Dmitry Gozman (@dgozman) I hope it's okay to tag you here as you had helped on similar issues before 😉 .
Activity
dgozman commentedon Nov 4, 2022
This should be fixed in v1.28 with the latest Firefox roll #18559.
eonhkao commentedon May 10, 2024
Are you sure this is fixed, still getting this error