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 crash when toggling between virtual and non-virtual mode in Combobox component #3236

Merged
merged 7 commits into from
May 24, 2024

Conversation

RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented May 24, 2024

This PR fixes an issue where toggling between virtual and non-virtual mode would not correctly merge the virtual configuration and therefore it would crash the entire component.

This PR fixes that behavior and correctly switches to virtual mode. This also contains some internal refactors to clean things up related to virtual mode.

Fixes: #3235

Copy link

vercel bot commented May 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
headlessui-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 4:11pm
headlessui-vue ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 4:11pm

@RobinMalfait RobinMalfait merged commit b822c8a into main May 24, 2024
8 checks passed
@RobinMalfait RobinMalfait deleted the fix/issue-3235 branch May 24, 2024 16:15
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.

dispatch ActionTypes.UpdateVirtualOptions drops disabled function
1 participant