Why does this pointerdown event not fire? #2964
Unanswered
paulwispnext
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hey. In your useEffect, you’re attaching the Also, keep in mind that we're preparing a new React-JointJS library that simplifies this process. It abstracts the event handling and setup, providing a more declarative API that should fix these kinds of issues. Stay tuned for its release! (https://github.com/clientIO/joint/tree/dev/packages/joint-react) |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Introduction
I am trying to create a thin wrapper around joint, to make handling with react a bit easier. (basically hiding the whole useEffect stuff into a more declarative shell. I have some code, yet it doesn't seem that the pointerdown is triggered I do not see an alert or anything.
Steps to reproduce
This is the code I have:
However I notice that while the console logs to "build" the paper are executed (twice as expected) the actual event never fires. The same happens with then pointerclick event.
Am I missing something?
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