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

Fix for preventDefault issue #4

Open
zipelkopf opened this issue Sep 8, 2021 · 1 comment
Open

Fix for preventDefault issue #4

zipelkopf opened this issue Sep 8, 2021 · 1 comment

Comments

@zipelkopf
Copy link

Hi, when connecting any dot, the follwoing error is raised in console (at least in Chrome):
Unable to preventDefault inside passive event listener due to target being treated as passive.

image

This can be fixed by simply adding the following code into you CSS.

svg {
  touch-action: none;
  }

P.S. I'm using v1.0.1

Thanks for the plugin :-)

@dannycoulombe
Copy link

Quick and easy fix. Loving it.

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

2 participants