tailwindlabs / headlessui

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

Vue ComboBox virtual API broken #3280

Closed topical closed 3 weeks ago

topical commented 3 weeks ago

Vue ComboBox virtual API broken

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?

Safari

Reproduction URL

The official playground examples are broken, e.g.

https://github.com/tailwindlabs/headlessui/blob/%40headlessui/vue%40v1.7.22/packages/playground-vue/src/components/combobox/combobox-virtualized.vue

Describe your issue

Whenever you use virtual API for ComboBox, options list is empty.

It works fine using branch "main".

It seems that virtual API related code was disabled in commit ac64a80 Don't know why this was done.

Can you please reenable this code?

RobinMalfait commented 3 weeks ago

Hey!

This is because the virtualization feature is not released for Headless UI Vue yet and is only available via the insiders version. I can't give you an ETA for when we will release this, but if you want to use it you'd have to use the insiders version for now.

Hope this helps!