joaoneto / angular-bootstrap-select

DEPRECATED DON'T USE - Directive to wrap bootstrap-select
105 stars 81 forks source link

The select doesn't handle click outside to hide options #12

Closed slimovic closed 9 years ago

slimovic commented 10 years ago

At a given time you can notice two select show the dropdown list, normally when you choose another select the other one should hide his options automatically. Something like that: issue

joaoneto commented 10 years ago

It's right, I improved the events to toggle the dropdown / dropup, but click outside, or in outher select, not yet implemented. One directive will be created, to listen the click event on the $window to close the dropdown / dropup

joaoneto commented 9 years ago

done

slimovic commented 9 years ago

Good job!

milenon commented 9 years ago

Hi, I may be missing something but it's not working with me. I'm using the latest version https://github.com/joaoneto/angular-bootstrap-select/tree/master/src together with Bootstrap-select v1.6.4 and its css and it is not opening the select. What do I miss? Do you have working demo somewhere?