jQuery UI Datepicker position bottom or top but not both -


I am using the Datepicker plugin and optimizing it according to my needs. I was able to do more in CSS, but one thing that is bothering me when the calendar depends on your screen, it will appear at the top or under the input. How can I control this behavior? I'm trying to customize it in a responsive layout, sometimes I want it up and for the second time, but I want it down, but not both.

callers call $ Datepicker._checkOffset to calculate the position

I get the original work (from) and redefine it according to my needs.

Comments