Drag raises click event
Opened this issue · 6 comments
Having a function passed as :node-click
, it runs also when dragging (specifically, on dragend), which is fair enough because a drag might be considered a click, but not being able to cancel this doesn't really work for my use case.
Is this the intended behaviour?
Hi, thanks for reporting.
Mmm no is not intended behavior.
I will try to fix it soon.
Would you like me to fix this?
I see this issue is quite old. was there ever a solution to this?
Specifically, I too want to differentiate between a click and a drag.
thanks!
I see this issue is quite old. was there ever a solution to this?
Specifically, I too want to differentiate between a click and a drag.
thanks!
I tried doing this, here is my PR: #97, but make sure you test it well.
Sorry @mihai-waydev , @danzimal I didn't have time to review this. I'll try to review and merge soon. Thanks.