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

FIX: ListboxButton - use most recent index instead of state variable #251

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

HenriqueLimas
Copy link
Member

Changed to use index from the onChange callback instead of variable state selectedIndex, since the state variable is not updated yet.

@HenriqueLimas HenriqueLimas added the bug Something isn't working label Oct 3, 2023
@HenriqueLimas HenriqueLimas self-assigned this Oct 3, 2023
@HenriqueLimas HenriqueLimas merged commit f229732 into main Oct 3, 2023
7 checks passed
@HenriqueLimas HenriqueLimas deleted the fix-listbox-callback branch October 3, 2023 00:58
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

Successfully merging this pull request may close these issues.

2 participants