How do I fix the script error: Unable to preventDefault inside passive event listener .... ? #2843
Unanswered
james-ep01
asked this question in
Q&A
Replies: 1 comment 2 replies
-
How did you get this specific error? It's not what I see in the Kitchen Sink application. Are you calling You should be able to prevent the error like this: joint.mvc.$.event.special.touchstart = {
setup: function(_, ns, handle) {
this.addEventListener("touchstart", handle, { passive: false });
}
}; |
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
It always happens when I drag from stencil to paper. What should I do?
I was just going to ignore it, but I don't think I can ignore it.
It also occurs in the kitchen app.
Steps to reproduce
No response
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS+
Beta Was this translation helpful? Give feedback.
All reactions