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

$rootScope:inprog: $apply already in progress #6696

Closed rukhsarneyaz closed 6 years ago

rukhsarneyaz commented 6 years ago

I am getting $apply already in progress error using uib-typeahead. I have a input field in my project with uib-typeahead. If I search for something and the typeahead suggestion popover is open and then I click on another div outside which has a ui-sref - then I get this error on console.

When I saw the line which produces error in the ui-bootstrap-tpls.js:7170 - $apply is used on blur without $timeout and that is causing the issue. ui-sref calls for another $apply and blur function calls for $apply.

screen shot 2018-03-13 at 4 25 35 pm

icfantv commented 6 years ago

Closing this as this project is no longer being maintained, per the README and the ISSUE_TEMPLATE.