From 1db83cddd019567cb0e059376fb59b89809025cf Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 1 Oct 2018 17:10:29 -0700 Subject: Define fixed width for auto-complete dropdown --- assets/js/components/select-dropdown-autocomplete.js | 1 - 1 file changed, 1 deletion(-) (limited to 'assets/js/components') diff --git a/assets/js/components/select-dropdown-autocomplete.js b/assets/js/components/select-dropdown-autocomplete.js index 8d1cd13d..70eb7503 100644 --- a/assets/js/components/select-dropdown-autocomplete.js +++ b/assets/js/components/select-dropdown-autocomplete.js @@ -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(); -- cgit v1.2.3