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
I found the fact dragleave triggered when entering a child utterly infuriating as I wanted it to work more in the same way mouseleave does, rather than the way mouseout does.
I created a jQuery special event which I've called dragout to replicate the behaviour I needed..
Whether you want to use it with this plugin is up to you but I amended the events that trigger so that my dragout triggers the dragLeave function sent to it and the html5 dragleave event triggers a new dragOut event I added. This way the functionality matches the mouse events.
The text was updated successfully, but these errors were encountered:
Would appreciate a patch to the current plugin to make it work with child elements in the drop area, although I'd rather not include other plugins with it. Thanks!
I found the fact dragleave triggered when entering a child utterly infuriating as I wanted it to work more in the same way mouseleave does, rather than the way mouseout does.
I created a jQuery special event which I've called dragout to replicate the behaviour I needed..
https://github.com/dancork/jquery.event.dragout
Whether you want to use it with this plugin is up to you but I amended the events that trigger so that my dragout triggers the dragLeave function sent to it and the html5 dragleave event triggers a new dragOut event I added. This way the functionality matches the mouse events.
The text was updated successfully, but these errors were encountered: