After clicking the date picker if i scroll the accordion content the expanded area of datepicker is not moving.
As this post suggests, its a known problem while using datepicker in scrolable div....you can use the .blur()
method on scroll event to make it look better..
Just pasting the demo code from the previous post(in case that gets removed):
var datePicker = $('#datepicker').datepicker();
$(".demo").scroll(function() {
datePicker.datepicker('hide');
$('#datepicker').blur();
});
$(window).resize(function() {
datePicker.datepicker('hide');
$('#datepicker').blur();
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.