I am using the standard jQuery UI datepicker ,However when i scroll the page the date picker remains fixed . Any ideas how to solve this ?
Regards,
Neil
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The problem is that the datepicker is outside the
divwithoverflow: scroll;. If the datepicker was generated inside the container this wouldn’t be a problem.Solution: http://jsfiddle.net/jbK6a/15/
I placed the datepicker behind the input with the
beforeShowevent.And I used
position: relative;on the scrollable container so that de absolute element listens to the container.