Search box does not move correctly when searches filter results


#1

Hi,

I’m having an issue where when the dropdown is upward, and I type enough to filter results to make the dropdown shorter, the search box does not move down appropriately.


#2

Since the calculation of whether to display the results list above or below the input box is complicated, I’m sure it’s done only once, when the results list is opened, not every time the list is filtered. Also, it would be confusing to the user if the results list moved while interacting with the Select2 widget.