react-sigma
react-sigma copied to clipboard
onClickStage also fires when dragging
A pretty common setup is to click on a node to show more details about it, and deselect on onClickStage. However, onClickStage is also called when dragging the graph -- is this the intent?
Hi @brortao, all the SigmaJS events are transparently proxied, in that case it is native behavior. But you provided very nice solution on how to work around this with https://github.com/brortao/fediverse.space/commit/7182f14c742b8d14ccfc26921b0b9e82bd183290 Thanks