Description
I think the button is eating the event that should be going to the input. Headless's example doesn't have this problem, so it must be something we're doing.
2024-10-01-click-combobox.mp4
Ok, haha. Turns out we are using ComboboxInput
inside of ComboboxButton
, but you're only supposed to need one or the other. The styles will need some untangling, but I was able to confirm immediately that changing ComboboxButton
to a div
does in fact fix clicking to place the cursor and typing spaces.
console/app/ui/lib/Combobox.tsx
Lines 102 to 137 in e46216a
Metadata
Metadata
Assignees
Labels
No labels