ivaynberg/select2 — pull request #2307 by IFours (2014-04-22 12:17:33+00:00)
Title: Recalculation dropdown height if dropdownAutoWidth is true

Here is a problem: http://jsfiddle.net/JpvDt/487/
Select input (see where "Please enter 1 or more character" appeared), type 'i' (see where data appeared). That is because dropdown height is not recalculated if dropdownAutoWidth option is set to true. It's not important if we have enough space below the select2 container, but it's a problem if there is no space below.