onClick event not triggered in drei's TransformControls #1832
Unanswered
Draco112358
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Update!
Now I've found that only for the one that have axis visible the onClick work, so the problem must be that if I hide axis the event is not triggered anymore. Any suggestions? |
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.
-
Good morning!
Anyone can explain me why drei's TransformControls does not trigger the onClick event, even if it has this event in its signature?
My code is like:
If I removed the TransformControls and set the onClick event in the tag, it'd be triggered as expected, but with the TransformControls one it does not work at all.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions