commit
cb5b684ae5
@ -1217,8 +1217,8 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (above) {
|
if (above) {
|
||||||
css.bottom = windowHeight - offset.top;
|
css.top = offset.top - dropHeight;
|
||||||
css.top = 'auto';
|
css.bottom = 'auto';
|
||||||
this.container.addClass("select2-drop-above");
|
this.container.addClass("select2-drop-above");
|
||||||
$dropdown.addClass("select2-drop-above");
|
$dropdown.addClass("select2-drop-above");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user