pattern-lock-js icon indicating copy to clipboard operation
pattern-lock-js copied to clipboard

Fix for preventDefault issue

Open zipelkopf opened this issue 4 years ago • 1 comments

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 :-)

zipelkopf avatar Sep 08 '21 22:09 zipelkopf

Quick and easy fix. Loving it.

dannycoulombe avatar May 30 '22 19:05 dannycoulombe