JustGoscha / allmighty-autocomplete

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

Delay on click activation #60

Closed jBenes closed 9 years ago

jBenes commented 10 years ago

I was using this directive inside of Angular Bootstrap modal window with click activation turned on. Didn't figured out why, but something was firing blur event over this directive after first focus.

So, this PR adds a little delay to click activation in order to eliminate hiding suggestions after catching immediate blur event.