Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Cancel dragenter #1

Merged
merged 1 commit into from Apr 30, 2012

Conversation

Projects
None yet
2 participants
Contributor

miketaylr commented Apr 30, 2012

Per spec, you have to cancel dragenter as well as dragover if you don't use the dropzone attribute (which nobody but Opera 12 supports right now.

http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dnd

Note: Instead of using the dropzone attribute, a drop target can handle the dragenter event (to report whether or not the drop target is to accept the drop) and the dragover event (to specify what feedback is to be shown to the user).

wookiehangover pushed a commit that referenced this pull request Apr 30, 2012

@wookiehangover wookiehangover merged commit d425139 into wookiehangover:master Apr 30, 2012

Owner

wookiehangover commented Apr 30, 2012

huh, didn't know about that one. Thanks for the patch, Mike!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment