headlessui icon indicating copy to clipboard operation
headlessui copied to clipboard

immediate prop on Combobox and autoFocus on ComboboxInput - options won't open

Open edcaron opened this issue 1 year ago • 2 comments

What package within Headless UI are you using? @headlessui/react

What version of that package are you using?

v2.2.0

What browser are you using? Chrome

Reproduction URL https://codesandbox.io/p/sandbox/headlessui-react-df56c2 Just keep clicking no refresh you will see the input is focused but the options won't open

Describe your issue When setting the immediate prop on Combobox and autoFocus on ComboboxInput, the input gets the focus by default but the options won't automatically open.

image

edcaron avatar Nov 29 '24 18:11 edcaron