react-sigma icon indicating copy to clipboard operation
react-sigma copied to clipboard

onClickStage also fires when dragging

Open ghost opened this issue 7 years ago • 1 comments

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?

ghost avatar Sep 03 '18 19:09 ghost

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

dunnock avatar Feb 13 '19 21:02 dunnock