Skip to content

Commit

Permalink
Fix for "Opening the dropdown should scroll to the selected item. ang…
Browse files Browse the repository at this point in the history
  • Loading branch information
Cornally committed Sep 10, 2015
1 parent bc3de20 commit 8d5aaaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/uiSelectController.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ uis.controller('uiSelectCtrl',
$timeout(function() {
ctrl.search = initSearchValue || ctrl.search;
ctrl.searchInput[0].focus();
if(!ctrl.tagging.isActivated) {
_ensureHighlightVisible();
}
});
}
};
Expand Down

0 comments on commit 8d5aaaa

Please sign in to comment.