tailwindlabs / headlessui

Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
https://headlessui.com
MIT License
25.81k stars 1.07k forks source link

Ensure clicking a `ComboboxOption` after filtering the options, correctly triggers a change #3180

Closed RobinMalfait closed 4 months ago

RobinMalfait commented 4 months ago

This PR fixes an issue where typing into a Combobox (filtering), and then clicking an option doesn't correctly choose the option.

We also made sure that the ComboboxInput stays focused after selecting an option (even when clicking).

Fixes: #3178

vercel[bot] commented 4 months ago

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 7, 2024 2:46pm
headlessui-vue ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2024 2:46pm