pattern-lock-js
pattern-lock-js copied to clipboard
Fix for preventDefault issue
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.

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 :-)
Quick and easy fix. Loving it.