diff --git a/ui/widgets/datepicker.js b/ui/widgets/datepicker.js
index 441170c9778..a26cd07e11a 100644
--- a/ui/widgets/datepicker.js
+++ b/ui/widgets/datepicker.js
@@ -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;