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

Commit d2ce54c

Browse files
committed
Resolves #976 (scroll to the selected item)
1 parent b2b8c32 commit d2ce54c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/uiSelectController.js

+3
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ uis.controller('uiSelectCtrl',
9292
$timeout(function() {
9393
ctrl.search = initSearchValue || ctrl.search;
9494
ctrl.searchInput[0].focus();
95+
if(!ctrl.tagging.isActivated && ctrl.items.length > 1) {
96+
_ensureHighlightVisible();
97+
}
9598
});
9699
}
97100
};

0 commit comments

Comments
 (0)