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

Commit ceabb1e

Browse files
author
Talita Goulart
committed
fix(uiSelectCtrl): open dropdown when clicking on caret
Closes #1797, #1862
1 parent d62cac2 commit ceabb1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/uiSelectController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,11 @@ uis.controller('uiSelectCtrl',
465465
ctrl.toggle = function(e) {
466466
if (ctrl.open) {
467467
ctrl.close();
468-
e.preventDefault();
469-
e.stopPropagation();
470468
} else {
471469
ctrl.activate();
472470
}
471+
e.preventDefault();
472+
e.stopPropagation();
473473
};
474474

475475
// Set default function for locked choices - avoids unnecessary

0 commit comments

Comments
 (0)