headlessui
headlessui copied to clipboard
`ComboboxInput` inside `ComboboxOptions` causes weird behavior
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v2.1.4
What browser are you using?
Chrome
Reproduction URL
https://codesandbox.io/p/devbox/dazzling-lovelace-gs4r8d?file=%2Fsrc%2Fexample.jsx%3A53%2C14&workspaceId=eea0c706-342f-4315-8217-3b1658dfd808
Describe your issue
I want to have the input as a sticky in the Options overlay, like this:
when I'm trying to add ComboboxInput inside ComboboxOptions, ComboboxOptions moves and kinda flickers (you can see in the reproduction)