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

Combobox immediate property missing in the vue implementation? #3453

Closed vpratfr closed 3 weeks ago

vpratfr commented 3 weeks ago

What package within Headless UI are you using?

@headlessui/vue

What version of that package are you using?

v1.7.2

What browser are you using?

N/A

Describe your issue

I was hitting my head against the desk while trying to get the immediate property work as advertised. This was precisely what I was looking for.

Then I came to notice I was on the React documentation page.

When switching to the Vue documentation page, the immediate property was gone, along with all my hopes and dreams to finish early today.

Any (technical) reason why immediate is not available in Vue and is in React?

Or maybe, did I miss something?

Would there be any hope this becomes available at some point in the future ?

Any recommendation so that I can implement that behaviour manually (open the Combobox options when the ComboboxInput is focused)?

Thanks a ton. Tailwind + HeadlessUI + Tailwind UI was a great investment for us, money well spent!

RobinMalfait commented 3 weeks ago

Hey!

Sorry about that. The immediate prop feature will be part of @headlessui/vue version 2 which at this point is not released yet. Unfortunately I also can't give you an ETA on when this version will be released.

If you want to use the immediate prop right now, your best option is to use the insiders version that includes this feature right now.

npm install @headlessui/vue@insiders

Again, sorry about the inconvenience. Hope this helps!

vpratfr commented 3 weeks ago

Thanks for the feedback. Today I noticed too that when landing on the React page, version was shown as 2.0 while still 1.7 on the Vue page.

Crossing fingers that the vue users do not get left out of that new release for too long.

Regards,