When using this theme with Select2 on a <select /> with optgroups the options for each group receive the .select2-results__options class. As a result, each group incorrectly has a max-height and overflow set on it which will scroll each group within the dropdown.
I reckon that only elements which are a direct descendant of .select2-results should have a max-height and overflow.
When using this theme with Select2 on a
<select />
with optgroups the options for each group receive the.select2-results__options
class. As a result, each group incorrectly has amax-height
andoverflow
set on it which will scroll each group within the dropdown.I reckon that only elements which are a direct descendant of
.select2-results
should have amax-height
andoverflow
.Here's an example of this in action.
Fixed with #12.