mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Datepicker: Now uses zIndex() to determine zIndex for dpDiv on show (Fixed #4580 Datepicker appears underneath other widgets)
This commit is contained in:
1
ui/jquery.ui.datepicker.js
vendored
1
ui/jquery.ui.datepicker.js
vendored
@@ -642,6 +642,7 @@ $.extend(Datepicker.prototype, {
|
||||
css({left: -borders[0], top: -borders[1],
|
||||
width: inst.dpDiv.outerWidth(), height: inst.dpDiv.outerHeight()});
|
||||
};
|
||||
inst.dpDiv.zIndex($(input).zIndex()+1);
|
||||
if ($.effects && $.effects[showAnim])
|
||||
inst.dpDiv.show(showAnim, $.datepicker._get(inst, 'showOptions'), duration, postProcess);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user