Unable to preventDefault script error. I'll ask again. #2871
Replies: 1 comment 2 replies
-
Closed as duplicate of #2843. See #2843 (comment). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
Unable to preventDefault inside passive event listener due to target being treated as passive. I'll ask again.
I wrote about what happens on my PC's Chrome and Edge browsers before. It keeps happening even when I change my PC. See the video below.
preventdefault_script_error.mp4
When I temporarily remove the t.preventDefault() code that causes an error at the beginning of the jointplus.js file, the preventDefault error does not occur. It's just that other codes in the drag do not work properly. I thought about modifying jointplus.js and using it, but it doesn't seem to be the right way.
If the browser version is updated and blocking is done, it may not work. What should I do?
Steps to reproduce
No response
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS, JointJS+
Beta Was this translation helpful? Give feedback.
All reactions