lordfriend / nya-bootstrap-select

An AngularJS select replacement which build select like dropdown component with collection and ng-model support
http://nya.io/nya-bootstrap-select/
MIT License
178 stars 81 forks source link

The list isn't focused on the element in ngModel, when opening the drop down. #126

Open votiv opened 8 years ago

votiv commented 8 years ago

I have a user who has a country that he can select from a list. I have a data-size of 5. When I open the list I am not 'taken' to the users selected country. It is selected, but a don't have 'vision' of it, it is not focused. The other issue is, that when i press the down key, the selected item isn't focused either. So when I have data-size of 5, I will always see the same top 5 elements.

Any ideas what the cause could be? Any help is appreciated. ty

lordfriend commented 8 years ago

I haven't implemented focus on selected element when data-size is used. There are also lots of cripple implement on context awareness of dropdown menu.

votiv commented 8 years ago

I see. Ok, I don't really have time right now, but maybe I will make a pull request.