Skip to content

Commit c673916

Browse files
author
Sunil Kandakatla
committed
Input box for ui-select multiple ALWAYS forcing text entry at new line angular-ui#1980
1 parent d8fed30 commit c673916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uiSelectController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ uis.controller('uiSelectCtrl',
546546
if (containerWidth === 0) {
547547
return false;
548548
}
549-
var inputWidth = containerWidth - input.offsetLeft;
549+
var inputWidth = containerWidth - input.offsetLeft - 10;
550550
if (inputWidth < 50) inputWidth = containerWidth;
551551
ctrl.searchInput.css('width', inputWidth+'px');
552552
return true;

0 commit comments

Comments
 (0)