Open zaygraveyard opened 9 years ago
When the selected day is no longer visible, selecting any day causes a time jump. Here's a live example
This behavior is caused by the fact that getMonthOffset() of a non-visible element is always 0. In the example it should have been 6 instead of 0.
getMonthOffset()
0
6
When the selected day is no longer visible, selecting any day causes a time jump. Here's a live example
This behavior is caused by the fact that
getMonthOffset()
of a non-visible element is always0
. In the example it should have been6
instead of0
.