Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upCannot get mouse position in dragover event #1925
Comments
markelog
added
the
Event
label
Dec 18, 2014
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
I agree this would be an easy fix to get mouse-related properties since DragEvent inherits from MouseEvent. In general we do not support the HTML5 drag/drop special properties directly and you should use |
dmethvin
added this to the 3.0.0 milestone
Dec 23, 2014
dmethvin
added
Feature
Bug
and removed
Feature
labels
Dec 23, 2014
This comment has been minimized.
This comment has been minimized.
|
So @araghava, @blacksvk would any of you like to send us a PR for it? |
This comment has been minimized.
This comment has been minimized.
|
@markelog i'll have a look shortly |
araghava
added a commit
to araghava/jquery
that referenced
this issue
Dec 27, 2014
araghava
referenced this issue
Dec 27, 2014
Closed
Event: fixing pageX/pageY mouse information in drag events #1977
araghava
added a commit
to araghava/jquery
that referenced
this issue
Dec 27, 2014
araghava
added a commit
to araghava/jquery
that referenced
this issue
Dec 27, 2014
araghava
added a commit
to araghava/jquery
that referenced
this issue
Dec 27, 2014
dmethvin
self-assigned this
Jan 5, 2015
dmethvin
added a commit
that referenced
this issue
Jan 5, 2015
dmethvin
closed this
in
97cf528
Jan 5, 2015
This comment has been minimized.
This comment has been minimized.
gtristan
commented
Jan 13, 2015
|
The above patch fixes dragstart,drag,dragend,dragover,dragenter and dragleave However it does not fix the drop event. I admit to not being a regexpert, but this adjustment fixes it for me:
|
This comment has been minimized.
This comment has been minimized.
|
@gtristan thanks for the note, new issue has been created |
dmethvin
added a commit
that referenced
this issue
Jan 14, 2015
dmethvin
added a commit
that referenced
this issue
Jan 14, 2015
markelog
added a commit
that referenced
this issue
Nov 10, 2015
dmethvin
added a commit
that referenced
this issue
Nov 10, 2015
dmethvin
modified the milestones:
1.12/2.2,
3.0.0
Jan 7, 2016
lock
bot
locked as resolved and limited conversation to collaborators
Jun 19, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ocerman commentedDec 14, 2014
I cannot get mouse position via e.pageX and e.pageY in dragover event in recent version of jQuery.
However, same code is working in jQuery 1.6.4
Example code: http://jsfiddle.net/blacksvk/qnbc80xy/1/