eureka2 / ab-datepicker

An accessible and bootstrap compatible datepicker
MIT License
63 stars 55 forks source link

When weekends are disabled , moving between months using left and right key skips complete month #32

Closed emailbhushan closed 5 years ago

emailbhushan commented 6 years ago

There is a issue with moving between months using left and right key skips complete month when weekends are disabled.

Basically if one uses left arrow key and moves from one month (Jan 2018 )to previous month (Dec 2017), and the control falls on a weekend day of the previous month(Dec 31st 2017) , then using left arrow key completely skips the month (Dec 2017) to Nov 2017.

This happens only when weekends are disabled. Please see the attached screen shot document. Kindly look in to it and provide a fix. Screen_Cap.docx