Select2 is a popular plugin to enhance
This solution was provided by Andrei Victor.
dropdownPosition option to
below wherever you initialize Select2.
And now, with a little CSS and JS, and with no modification to Select2's source code, you will have a Select2 plugin that behaves itself much more predictably.