You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have two listbox components on the same page with the modal={false} prop
Open one of the listboxes
Scroll the page to a different position from where you opened the first listbox
Click on the second listbox button
Second listbox opens
The problem is the first listbox also remains open
Expected behaviour is for the first listbox to close when opening the second one. The expect behaviour happens if you do not scroll the page, scrolling seems to be causing the issue.
bug-vid.mov
The text was updated successfully, but these errors were encountered:
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
For example: v2.1.2
What browser are you using?
Chrome
Reproduction URL
https://codesandbox.io/p/sandbox/nameless-snow-kxmc7z
Describe your issue
modal={false}
propExpected behaviour is for the first listbox to close when opening the second one. The expect behaviour happens if you do not scroll the page, scrolling seems to be causing the issue.
bug-vid.mov
The text was updated successfully, but these errors were encountered: