Skip to content

Commit 6a2872c

Browse files
authored
Fixed datepicker positioning calculation
See #2057. This still needs merging.
1 parent 1da395d commit 6a2872c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/widgets/datepicker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ $.extend( Datepicker.prototype, {
816816
}
817817
if ( !$.datepicker._pos ) { // position below input
818818
$.datepicker._pos = $.datepicker._findPos( input );
819-
$.datepicker._pos[ 1 ] += input.offsetHeight; // add the height
819+
$.datepicker._pos[ 1 ] += inst.input.outerHeight(); // add the height
820820
}
821821

822822
isFixed = false;

0 commit comments

Comments
 (0)