I’m using the Datepicker plugin and customizing it to my needs. I was able to do mostly everything I needed in CSS but there’s one thing that is bothering me. When the calendar opens depending on where you are on your screen it will appear on top or under the input. How can I have control over this behavior? I’m trying to adapt it to a responsive layout so sometimes I want it on top and other times I want it under but not both.
Share
Datepicker calls
$.datepicker._checkOffsetto calculate the position.I would grab the original function (from here) and redefine it according to my needs.