In angular-drag-and-drop-lists you have dnd-dragover
directive at your disposal. I can't figure out how to detect a dragLeave event. The problem is that I can't use ng-mouseleave
directive as it never gets called while an item is dragged. The same holds true for any other JS or CSS solutions.
Is there any way how to detect dragLeave
event?
I have looked at this answer: How to start mouseover event while dragging However, all of the proposed solutions are working due to XY coordinates which I don't want to use.
The only way I could solve this was to modify the library. The proposed change is here.