Can you help me get this onClick event to work? #2508
Unanswered
Lalaland354
asked this question in
Q&A
Replies: 0 comments
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.
-
Hey! For the last few days I've been struggling with an onClick event in r3f. To make things simpler I used this premade sandbox to show the issue I'm running into: https://codesandbox.io/s/flexbox-yoga-in-webgl-forked-q8oyb1?file=/src/components/Geo.js
When you take a look at the Geo part you can see that I tried to embed a hyperlink. However, while the hyperlink text appears, I can't seem to get the actual onClick event to work. I know that external links are a challenge for r3f but it still would be amazing to get this to work.
Any help would be really appreciated!
Best
Beta Was this translation helpful? Give feedback.
All reactions