DaHaiz / ngFlowchart

ngFlowchart enables drag&drop modelling of graphs in web applications
http://one-logic.github.io/ngFlowchart/dist/
MIT License
103 stars 64 forks source link

Firefox drag and drop redirect into nowhere #55

Open LockiStrike opened 5 years ago

LockiStrike commented 5 years ago

Hi Our team faced with issue that when you try to connect one connector into nothing (to any place on the page where no other object or edges) it redirects you to about:blank url in Firefox. Please could you provide us a way how to prevent it because as I know there is no way to add any logic to drag events callbacks. case

Reproduces only in Firefox on any OS. Thank you in advance.

AwolDes commented 4 years ago

Hey I'm not sure if you fixed this, but I just enctountered similar behaviour in an unrelated library. I think the only thing that needs to be fixed is using event.preventDefault() or event.stopPropagation() for the on drop handler