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

Only select the active option when using "singular" mode #1750

Merged
merged 2 commits into from Aug 9, 2022

Conversation

RobinMalfait
Copy link
Collaborator

This PR improves the UX when using multiple value mode for the Combobox component. Now when
pressing <Tab> the active item won't be selected/unselected and you have to explicitly select it
via <Enter> or clicking/tapping.

Fixes: #1628

@vercel
Copy link

vercel bot commented Aug 9, 2022

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

Name Status Preview Updated
headlessui-react ✅ Ready (Inspect) Visit Preview Aug 9, 2022 at 2:37PM (UTC)
headlessui-vue ✅ Ready (Inspect) Visit Preview Aug 9, 2022 at 2:37PM (UTC)

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.

[React] Multi-select combobox does not support keyboard selection + navigation
1 participant