angular-ui / ui-select

AngularJS-native version of Select2 and Selectize
MIT License
3.26k stars 1.81k forks source link

Drop down list bounces with Multiple Selection #2044

Open tjb016 opened 7 years ago

tjb016 commented 7 years ago

Bug description:

When using multiple selection and there is already at least one item selected, entering values into the search input will cause the drop-down list to ‘bounce’. This can be reproduced by using the ‘Multiple Selection’ demo page provided at https://angular-ui.github.io/ui-select/.

image

Cause: When the search input is resized, it is first set to a width of 10px (uiSelectController.js line 552) before the correct width is calculated and set.

Jefiozie commented 7 years ago

Hi, just checked this and I believe this is already there since a couple of versions (i stopped around 0.16.0). What is the expected behavior / fix you are looking for?

Thanks.

tjb016 commented 7 years ago

I expect the input to stay on the current line, so the drop down list does not 'bounce'.