Search input focus not switching between two select dropdowns
There's a bug when you have two select dropdowns with search, and you open one dropdown but before hitting enter or clicking a selection, you click the other dropdown and start typing, the text focus is still on the first dropdown.
Try in this plunkr: http://plnkr.co/edit/wicNNsEWN3VC05PtlEKx?p=preview
The first dropdown closes when clicking outside, but the text focus is not lost, nor is the focus shifted to the second dropdown
Sorry to divert the thread, I hope is fine.
We have an issue on a page with multiple (4) dropdowns, and we can reproduce that issue in a plunkr here as well but for some reason the same issue does not happen in your plunkr.
The issue we have is the following:
- click on dropdown A arrow to open it
- click on dropdown B arrow to open that instead
- expected behaviour:
- A should close and B should open
- actual behaviour:
- A stays open and B opens, possibly overlapping one another (see picture attached)
Don't know why, but that does not happen in @benri plunkr. Not sure if it's because the two dropdowns there are clones, so they're sharing the same ngModel, same selected element, etc.

EDIT
We just tried using distinct ngModels (person and anotherPerson) in @benri plunkr, and the clicks still work okay. So it doesn't seem a matter of ngModel
Anyone has feedback on this? Thanks
Likewise - I am evaluating this new control and have come across this bug within minutes of playing with it. I consider a major bug, so would also like to know if there's any work scheduled on it. Thanks
:+1:
This PR should fix it https://github.com/angular-ui/ui-select/pull/668