JustGoscha / allmighty-autocomplete

Simple to use autocomplete directive in a module for AngularJs!
MIT License
392 stars 232 forks source link

Closes the scrollable list of items if you click on scroll button #118

Open vishalbedre opened 8 years ago

vishalbedre commented 8 years ago

Hi Team,

I used autocomplete on my MVC+ Anular application. I also added css as follows inorder to create scrollable list but it is closing scrollable list if I click on the list. In other words It is hiding autocomplete list once I click on scrollable button. CSS code .autocomplete ul { max-height: 400px; min-height: inherit; overflow-y: scroll; cursor: hand; }

HTML code

dedonin commented 8 years ago

Hi, I'm experiencing the same issue and I have already found information saying that IE11 registers the click on the scroll bar as a click outside the DOM. But I cannot seem to find a suitable solution for this particular autocomplete. Most of the websites provide a code solution for jQuery autocomplete, but I couldn't find one that clearly explains a solution for this Angular one. Looking forward to responses! :)

kamotext commented 7 years ago

Hi,

Here's my not quite good solution but still works