You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The onChange() function of the Select component currently returns the previous value of the active state when multiple items are selected, and nothing when a single item is selected, due to the downed state interrupting its execution.
cincolunes
changed the title
<Select/> onChange() function de-synchronizes with the active state inside.
The onChange() function of the <Select/> component desynchronizes with the active state.
Jun 4, 2024
Thank you for contributing! We’re marking this issue as stale as a gentle reminder to revisit it and give it the attention it needs to move forward.
Any activity, like adding an update or comment, will automatically remove the stale label so it stays on our radar.
Feel free to reach out on Discord if you need support or feedback from the community. This issue will close automatically soon if there’s no further activity. Thank you for understanding and for being part of the project!
We’re closing this issue to keep our project manageable and make room for other active work, but we truly appreciate your effort and contribution.
If you’d like to continue working on this, please feel free to re-open it or reach out on Discord — our community is always ready to support you. Thanks again for helping us stay organized and for understanding our approach!
three
version: 0.151.0@react-three/fiber
version: 8.0.8@react-three/drei
version: 9.106.0node
version: 20.12.2npm
(oryarn
) version: 10.5.0Problem description:
The onChange() function of the Select component currently returns the previous value of the active state when multiple items are selected, and nothing when a single item is selected, due to the downed state interrupting its execution.
Relevant code:
Suggested solution:
I'm going to provide a PR with this one.
The text was updated successfully, but these errors were encountered: