You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Selecting a popover suggestion with a controlled input (<ComboboxInput value={term} ... />) doesn't hide anymore the popover.
It used to be the case with "@reach/combobox": "0.16.3" and before (so before this commit)
The text was updated successfully, but these errors were encountered:
tesnouf-drivy
changed the title
Combobox - popover doesn't hide anymore when selecting an option with a controlled input
[Combobox] popover doesn't hide anymore when selecting an option with a controlled input
Jan 3, 2022
It seems this got fixed at some point, but then the change was reverted. Are there any plans to move forward again with a similar fix, or would it make sense to expose some sort of API in the context (similar to the close proposed here) so we can cleanly close the popover in controlled scenarios?
🐛 Bug report
Current Behavior
Selecting a popover suggestion with a controlled input (
<ComboboxInput value={term} ... />
) doesn't hide anymore the popover.It used to be the case with "@reach/combobox": "0.16.3" and before (so before this commit)
Expected behavior
Selecting an option in the popover should hide it
Reproducible example
CodeSandbox Template
The text was updated successfully, but these errors were encountered: