Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 08ee30a

Browse files
nherzingwesleycho
authored andcommitted
fix(dropdown): prevent premature scope removal
- Toggle false after focus executes Closes #6238 Fixes #6225
1 parent 7671bd6 commit 08ee30a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dropdown/dropdown.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ angular.module('ui.bootstrap.dropdown', ['ui.bootstrap.position'])
4848
return;
4949
}
5050

51-
openScope.isOpen = false;
5251
openScope.focusToggleElement();
52+
openScope.isOpen = false;
5353

5454
if (!$rootScope.$$phase) {
5555
openScope.$apply();

0 commit comments

Comments
 (0)