tailwindlabs / tailwindui-issues

Bug fixes and feature request tracking for Tailwind UI.
233 stars 4 forks source link

Catalyst: Listbox component #1603

Closed fouteox closed 3 days ago

fouteox commented 2 months ago

What component (if applicable)

Describe the bug Switching from desktop to mobile screen causes some sort of state loss, see video

To Reproduce See video

Expected behavior I do not really know

Screenshots

https://github.com/tailwindlabs/tailwindui-issues/assets/88294294/ca04d225-e169-4ee6-a503-0b06341a4f6d

Browser/Device (if applicable)

reinink commented 3 days ago

Hey there! Really sorry for the long delay on this one. This issue was caused by an bug in Headless UI, see here: https://github.com/tailwindlabs/headlessui/pull/3466

Good news though, we got this fixed and released today! To fix this in your app, upgrade to the latest version of Headless UI:

npm install @headlessui/react@latest

Hope that helps, and apologies again for the delay.