headlessui icon indicating copy to clipboard operation
headlessui copied to clipboard

`ComboboxInput` inside `ComboboxOptions` causes weird behavior

Open eifr opened this issue 1 year ago • 0 comments

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: image

when I'm trying to add ComboboxInput inside ComboboxOptions, ComboboxOptions moves and kinda flickers (you can see in the reproduction)

eifr avatar Sep 03 '24 16:09 eifr