We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c500f78 commit 962f2a6Copy full SHA for 962f2a6
src/uiSelectDirective.js
@@ -260,7 +260,7 @@ uis.directive('uiSelect',
260
scope.$watch('$select.open', function(isOpen) {
261
if (isOpen) {
262
dropdown = angular.element(element).querySelectorAll('.ui-select-dropdown');
263
- if (dropdown === null) {
+ if (dropdown.length === 0) {
264
return;
265
}
266
@@ -283,7 +283,7 @@ uis.directive('uiSelect',
283
dropdown[0].style.opacity = 1;
284
});
285
} else {
286
+ if (dropdown === null || dropdown.length === 0) {
287
288
289
0 commit comments