Closed
Bug 1822922
Opened 3 years ago
Closed 2 years ago
`drag` events have zero coordinates
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 505521
People
(Reporter: avi, Unassigned)
Details
Attachments
(1 file)
|
2.86 KB,
text/html
|
Details |
Steps to reproduce:
The drag event is a MouseEvent and therefore should have valid clientX, clientY, screenX, and screenY properties.
To reproduce:
0. download the attached repro file
- open the file
- open the console for the page
- drag the block of text on the page
What should happen is that the event listener on the “drag” event should show valid coordinates. What actually happens is that the clientX and clientY properties always return 0, and the screenX and screenY stay constant.
| Reporter | ||
Comment 1•3 years ago
|
||
I can reproduce this on both Mac and Windows with Firefox 111.
Comment 2•3 years ago
|
||
I've reproduced the issue on the latest Nightly 113.0a1 and Firefox 111.0.1 versions on Windows 10, macOS 13 and Ubuntu 22.04.
Setting the component. If this is not the correct component, please feel free to change it to a more appropriate one.
Severity: -- → S3
Has STR: --- → yes
status-firefox111:
--- → affected
status-firefox112:
--- → affected
status-firefox113:
--- → affected
status-firefox-esr102:
--- → affected
Component: Untriaged → DOM: Events
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → Desktop
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•