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

fix: search input width resizing #1631

Merged
merged 1 commit into from
May 31, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/uiSelectController.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ uis.controller('uiSelectCtrl',
ctrl.searchInput.css('width', '10px');
$timeout(function() { //Give tags time to render correctly
if (sizeWatch === null && !updateIfVisible(calculateContainerWidth())) {
sizeWatch = $scope.$watch(angular.noop, function() {
sizeWatch = $scope.$watch(function() {
if (!updaterScheduled) {
updaterScheduled = true;
$scope.$$postDigest(function() {
Expand All @@ -482,7 +482,7 @@ uis.controller('uiSelectCtrl',
}
});
}
});
}, angular.noop);
}
});
};
Expand Down