Provide a general summary of the feature here
One option is to always open the popover on click. Another option is to toggle it—close it when it’s open, and open it when it’s closed.
Always opening on click is easier to implement in user code, while toggling is comparatively more tricky—you need to make sure it doesn’t toggle twice when the input receives focus and is clicked.
🤔 Expected Behavior?
Clicking the input should toggle the open state.
😯 Current Behavior
It doesn’t do anything.
💁 Possible Solution
No response
🔦 Context
Behavior in other open-source projects:
Toggle:
https://react-select.com/home
https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/
Always open:
https://base-ui.com/react/components/combobox
https://ariakit.org/components/combobox
💻 Examples
No response
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response