Calendar not showing on clicking the controller arrows

Hello Team,
I am trying to use the calendar instance in my app and it opens up a calendar successfully. But the issue is, when I try to change the month or year it shows blank instead of the picker. While the calendar pops up it displays the current date only, changing the month and year does not work at all.
Code I am using is:
var calendar = myApp.calendar({
input: ‘#dob’,
});