mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Fixed incorrect position on position:fixed elements
This commit is contained in:
parent
d2f577f13b
commit
7be7c61774
@ -776,7 +776,7 @@ $.extend( Datepicker.prototype, {
|
||||
}
|
||||
if ( !$.datepicker._pos ) { // position below input
|
||||
$.datepicker._pos = $.datepicker._findPos( input );
|
||||
$.datepicker._pos[ 1 ] += input.offsetHeight; // add the height
|
||||
$.datepicker._pos[ 1 ] += $( input ).outerHeight(); // add the height
|
||||
}
|
||||
|
||||
isFixed = false;
|
||||
|
Loading…
Reference in New Issue
Block a user