1 つの解決策 (ハック) は、日付ピッカーが表示された後、フレームの下部までスクロールして日付ピッカー全体を表示することです。
例:
$(".myDatepickers").datepicker({
beforeShow: function(input, inst) {
// There's no On-/After Show event for datepicker (closest is beforeShow),
// so use a timeout-hack to wait until the datepicker has rendered
// and then scroll.
setTimeout(function() {
// Get the document height, but you could also get the position + size
// of the datepicker to scroll just so that the datepicker will show.
var scrollTo = $(document).height();
// And scroll to the new position.
$("html, body").scrollTop(scrollTo);
}, 500); // Increase/decrease the timeout as needed.
}
});
日付ピッカーの後にコンテンツがある場合は、日付ピッカーの位置を取得し、日付ピッカーのサイズをオフセットしてスクロール位置を取得できます。