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 incorrect behavior of isTyping #3596

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SavaCool122
Copy link

This PR fixes an issue where navigating from one Combobox to another using the Tab key blocked the displayValue from updating in the next render.

The issue was partially introduced in this PR: #3259.

Currently, any interaction with the keyboard activates a mode that prevents the value from being updated.

My fix is a straightforward solution, but as maintainers of this library, you may have a better idea of how to address this bug. I’d be happy to implement any suggestions you provide.

Thank you for your work — this library truly helps make my interfaces better

Fixes: #3595

Copy link

vercel bot commented Dec 15, 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 Dec 15, 2024 6:19pm
headlessui-vue ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 15, 2024 6:19pm

@SavaCool122
Copy link
Author

@RobinMalfait I’d really appreciate it if you could take a look at this fix. It’s simple and easy to understand, and I’m happy to respond quickly to any questions or feedback. This will genuinely help my company (takeda.com)

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.

[Bug]: Combobox breaks when selecting a value using the keyboard
1 participant