Closed vitozev closed 8 years ago
Unfortunately, that's in the jquery-ui part, which handles the mouse events and prevents them from bubbling. To exact, jquery-ui emulates the drag and the HTML5 Drag&Drop API isn't used at all. It just places the elements below your mouse pointer. PS: the plnkr that you shared has nothing inside the
. Is it supposed to be that way?
I have the following piece of code (codebase which can't be modified atm):
When
ui-sortable
directive is being used, all ondrag* events are not fired at all, it seems that after initialization, the event listeners are removed from DOM.I know that using
$sortableOptions
, I'm able to execute some code at specific action, the problem is that we're usingDataTransfer
object (part of Drag and Drop HTML5 API), which doesn't exists inMouseEvents
.Plnkr: http://plnkr.co/edit/OOw8Rt2jeo0qbqeE7Iqy?p=preview
Any suggestions?