Skip to content
New issue

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

Select component onChange not firing #2170

Open
zaesur opened this issue Oct 30, 2024 · 0 comments
Open

Select component onChange not firing #2170

zaesur opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zaesur
Copy link

zaesur commented Oct 30, 2024

  • three version: 0.153
  • @react-three/fiber version: 8.13.4
  • @react-three/drei version: 9.77.6

Problem description:

Select only fires onChange callback for multi select, not for single select. onChangePointerUp seems to work correctly for both single and multi select. In the official sandbox, this prevents the Leva panel from showing.

This problem is occurring in the official sandbox provided in the Drei docs. When I tried to upgrade it to a more recent version I was getting other errors, but the problem doesn't seem to be resolved in more recent versions of Drei either.

Relevant code:

Select sandbox

@zaesur zaesur added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant