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

🐛Autocomplete: Added a workaround for touch crash #3005

Merged
merged 2 commits into from
Aug 14, 2023

Conversation

oddvernes
Copy link
Collaborator

resolves #2889

This does not fix the problem completely, but at least now it does not crash the component on item click using touch input.
I can still trigger "maximum update depth" infinite loop by selecting items quickly enough with keyboard on multiselect.
It looks to be some sort of race condition inside downshift that the added settimeout mitigates

@oddvernes oddvernes merged commit dc8c22f into develop Aug 14, 2023
3 checks passed
@oddvernes oddvernes deleted the OOVE/2889-autocomplete-touch-crash branch August 14, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Autocomplete: problem with react-hook-form & mobile
1 participant