Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onClickStage also fires when dragging #67

Open
ghost opened this issue Sep 3, 2018 · 1 comment
Open

onClickStage also fires when dragging #67

ghost opened this issue Sep 3, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 3, 2018

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?

@dunnock
Copy link
Owner

dunnock commented Feb 13, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant