Define fixed width for auto-complete dropdown

This commit is contained in:
Frédéric Guillot
2018-10-01 17:10:29 -07:00
parent eed3256824
commit 1db83cddd0
4 changed files with 4 additions and 3 deletions

View File

@@ -265,7 +265,6 @@ KB.component('select-dropdown-autocomplete', function(containerElement, options)
.attr('type', 'text')
.attr('placeholder', getPlaceholderValue())
.addClass('select-dropdown-input')
.style('width', (containerElement.offsetWidth - 30) + 'px')
.on('focus', toggleDropdownMenu)
.on('input', onInputChanged, true)
.build();