diff --git a/src/typeahead/typeahead.js b/src/typeahead/typeahead.js index 19df80a1d3..db73a064df 100644 --- a/src/typeahead/typeahead.js +++ b/src/typeahead/typeahead.js @@ -223,7 +223,7 @@ angular.module('ui.bootstrap.typeahead', ['ui.bootstrap.position', 'ui.bootstrap //return focus to the input element if a mach was selected via a mouse click event // use timeout to avoid $rootScope:inprog error - setTimeout(function() { element[0].focus(); }, 1); + $timeout(function() { element[0].focus(); }, 1, true); }; //bind keyboard events: arrows up(38) / down(40), enter(13) and tab(9), esc(27)