We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 261dad0 commit 85de8ccCopy full SHA for 85de8cc
1 file changed
select2.js
@@ -1218,8 +1218,8 @@ the specific language governing permissions and limitations under the Apache Lic
1218
};
1219
1220
if (above) {
1221
- css.bottom = windowHeight - offset.top;
1222
- css.top = 'auto';
+ css.top = offset.top - dropHeight;
+ css.bottom = 'auto';
1223
this.container.addClass("select2-drop-above");
1224
$dropdown.addClass("select2-drop-above");
1225
}
0 commit comments