I need to detect the cancellation of dragging a new node onto the editor. I'd usually use the ondragend event for this; however, it just won't fire when using with Drawflow.
I've added a console log on drag start and end for the "Facebook" node in line 25 of the html. Any idea on how to get the dragend firing or why it is not firing? My only guess would be some intersection with the onmouseup event but I couldn't quite figure it out.
I need to detect the cancellation of dragging a new node onto the editor. I'd usually use the
ondragend
event for this; however, it just won't fire when using with Drawflow.You can see it in action here: https://jsfiddle.net/wd7r81yz/1/
I've added a console log on drag start and end for the "Facebook" node in line 25 of the html. Any idea on how to get the dragend firing or why it is not firing? My only guess would be some intersection with the
onmouseup
event but I couldn't quite figure it out.