vasturiano/force-graph

Clicking on a node causes the drag event to be fired

Opened this issue · 0 comments

Describe the bug

When immediately clicking on a node which has been dragged, the node dragged event is fired before the click. This happens inconsistently and there is a minute translate to the node when it is clicked

Expected behavior

  1. When a node is clicked after being dragged immediately, it should not register the drag event and just perform the click event.

Screenshots
image