Describe the bug
I use combobox as a way to have both a select and filter input field in one. I also want the dropdown list to open when user starts interacting with the combobox. So I tried to use focus trigger mode. It works as expected until user selects an option, because then the focus is moved away from the closing dropdown to the combobox input, which in turn reopens the dropdown again due to the focus trigger mode, this time with only 1 option.
So to the user it might look like she needs to confirm that selection by clicking the last remaining option and after she does it, the option deselects. Or user has to just leave the dropdown open and carry on, which is not great experience.
To Reproduce
Steps to reproduce the behavior:
With triggerMode === 'focus', click on a combobox
Select an option
Dropdown list didn't close
Expected behavior
When an option is selected from dropdown list, the list should close, even despite the 'focus' trigger mode.
Desktop (please complete the following information):
Describe the bug I use combobox as a way to have both a select and filter input field in one. I also want the dropdown list to open when user starts interacting with the combobox. So I tried to use
focus
trigger mode. It works as expected until user selects an option, because then the focus is moved away from the closing dropdown to the combobox input, which in turn reopens the dropdown again due to the focus trigger mode, this time with only 1 option.So to the user it might look like she needs to confirm that selection by clicking the last remaining option and after she does it, the option deselects. Or user has to just leave the dropdown open and carry on, which is not great experience.
To Reproduce Steps to reproduce the behavior:
triggerMode === 'focus'
, click on a comboboxExpected behavior When an option is selected from dropdown list, the list should close, even despite the 'focus' trigger mode.
Desktop (please complete the following information):