the two components MultiSelect and Dropdown behave differently. When you click the Dropdown and the dropdown panel opens, the search field has immediate focus. This means you can click and then type and thereby search the items in the field. The MultiSelect (even though it has a search field too) is not automatically focussing on that. Therefore you have to perform an additional click to search that field. I don't think that's intended behavior. Or at least it's inconsistent.
Reproducer
No response
PrimeReact version
8.7.2
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Only tested for Chrome 107.0.5304.110
Steps to reproduce the behavior
Create two Components, MultiSelect and Dropdown with a few items each
Set filter to true on both
Click on either of the components and see the inconsistent focus behaviour.
Expected behavior
Both fields should on click focus immediately on the search field, just to reduce the amount of clicking.
Describe the bug
Dear Primereact team,
the two components MultiSelect and Dropdown behave differently. When you click the Dropdown and the dropdown panel opens, the search field has immediate focus. This means you can click and then type and thereby search the items in the field. The MultiSelect (even though it has a search field too) is not automatically focussing on that. Therefore you have to perform an additional click to search that field. I don't think that's intended behavior. Or at least it's inconsistent.
Reproducer
No response
PrimeReact version
8.7.2
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Only tested for Chrome 107.0.5304.110
Steps to reproduce the behavior
Expected behavior
Both fields should on click focus immediately on the search field, just to reduce the amount of clicking.