Closed
Bug 1857203
Opened 2 years ago
Closed 2 years ago
Mouse coordinates don't change while dragging
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 505521
People
(Reporter: agreedeth, Unassigned)
Details
Attachments
(1 file)
2.42 MB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Steps to reproduce:
- Create web page
- Mark an element as draggable
- Add event listener for drag event and try to get mouse position
Link for source code: https://stackblitz.com/edit/js-ns8ybc?file=index.js,index.html,style.css
- Select text
- Try to drag it
- See the console log
Actual results:
DragEvent.x, DragEvent.y, DragEvent.clientX, DragEvent.clientY is always zero
Expected results:
DragEvent.x, DragEvent.y, DragEvent.clientX, DragEvent.clientY show mouse position in browsers based on Chromium. I think it should be the same in firefox
![]() |
||
Updated•2 years ago
|
Component: Untriaged → DOM: Copy & Paste and Drag & Drop
Product: Firefox → Core
![]() |
||
Comment 1•2 years ago
|
||
Seems duplication of Bug 1822922
Component: DOM: Copy & Paste and Drag & Drop → DOM: Events
Updated•2 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1822922
Resolution: --- → DUPLICATE
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•