oferh / ng2-completer

Angular 2 autocomplete component
http://oferh.github.io/ng2-completer/
MIT License
347 stars 172 forks source link

Blur event getting fired with select event #403

Open AnshulShrivastava123 opened 6 years ago

AnshulShrivastava123 commented 6 years ago

I am working on ng2 completer and it seems when i type a number in the typeahead, list opens up with possible options and when i select any option from the list. it fires the blur event for the number that i entered and after that it fired select event for the value i selects from the list. ex if i enter 1 list is open with options like 1,123, 12354. Now if i select the second option. Two events will get fired blur for number 1 that i typed manually and select event for selecting 123 from the list. I dont want to fire blur if i am selecting anything from the list.