angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.3k stars 6.74k forks source link

typeahead-is-open option not working #6619

Open glossary95 opened 6 years ago

glossary95 commented 6 years ago

hi, in this formal demo, when I input Letter a in the country of input box. the uib-typeahead will show the popup menu, and when I click some area of the document's blank the popup menu will be closed. And now the input box has the letter a, when I click the input box, I hope the popup menu can show, but it still hide, can't show. who can help me to find out the problem. Thank you very much.

glossary95 commented 6 years ago

I am developing web page using angularjs.

glossary95 commented 6 years ago

https://stackoverflow.com/questions/40017742/angular-uib-typeahead-typeahead-is-open-not-working

glossary95 commented 6 years ago

I found it , https://github.com/angular-ui/bootstrap/issues/6505, it maybe resolved.

glossary95 commented 6 years ago

https://github.com/angular-ui/bootstrap/issues/6505 , this is for ui-bootstrap-tpls-0.6.0 version, I work on 2.0.1 / 2.5.0 , there is no public method named 'getMatchesAsync' function in uibTypeahead controller. and there is only init function.