Skip to content

Commit 5bf25fc

Browse files
author
Dmitry Krekota
committed
Fix angular-ui#2119 issue
1 parent d8fed30 commit 5bf25fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/uiSelectController.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,9 @@ uis.controller('uiSelectCtrl',
547547
return false;
548548
}
549549
var inputWidth = containerWidth - input.offsetLeft;
550+
if (ctrl.multiple) {
551+
inputWidth -= 10;
552+
}
550553
if (inputWidth < 50) inputWidth = containerWidth;
551554
ctrl.searchInput.css('width', inputWidth+'px');
552555
return true;

0 commit comments

Comments
 (0)