We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
three
@react-three/fiber
@react-three/drei
Adding an onClick handler on a Segment component doesn't work. I expected it to fire an even like Line does.
Segment
Line
Sandbox here: https://codesandbox.io/p/sandbox/agitated-ganguly-zwl6p6 it doesn't show much but I added an onClick handler on both a <Box/> and a <Segment/> and the Segment doesn't work
<Box/>
<Segment/>
Clicking on a segment with onClick should fire the event.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
three
version: 0.164.1@react-three/fiber
version: 8.16.4@react-three/drei
version: 9.105.6Problem description:
Adding an onClick handler on a
Segment
component doesn't work. I expected it to fire an even likeLine
does.Relevant code:
Sandbox here: https://codesandbox.io/p/sandbox/agitated-ganguly-zwl6p6
it doesn't show much but I added an onClick handler on both a
<Box/>
and a<Segment/>
and the Segment doesn't workSuggested solution:
Clicking on a segment with onClick should fire the event.
The text was updated successfully, but these errors were encountered: