More than one dropdown can be opened at a time #11455
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
PrimeNg Component Demo Page (Bug Reports)
https://www.primefaces.org/primeng/dropdown
Current behavior
In a combination of keyboard events and mouse events, two dropdowns can have their lists shown at the same time.
Expected behavior
Once a dropdown looses focus, it should automatically hide its list, if open.
Minimal reproduction of the problem with instructions
Notice that two dropdowns are open at the same time
What is the motivation / use case for changing the behavior?
Our application works with forms, there are a lot of dropdowns which the customer can shift between. Customers prefer using the keyboard to shift through input fields. But in certain cases they may use the mouse to jump to another dropdown while one is already open. The visual result is not desirable.
Angular version: 13.X
PrimeNG version: 13.3.3
**Browser:**Chrome, Firefox and more
Language: [all | TypeScript X.X | ES6/7 | ES5]
Node (for AoT issues):
node --version
= 16.13.2The text was updated successfully, but these errors were encountered: