CalendarPicker icon indicating copy to clipboard operation
CalendarPicker copied to clipboard

Shifting one month back if scrollable and maxDate is current month

Open giorgiofellipe opened this issue 11 months ago • 1 comments

While investigating it I've found out two other bugs that have been addressed here https://github.com/stephy/CalendarPicker/pull/370.

But, I still haven't found my way to fix the original bug. The original bug is reproducible by simply: <CalendarPicker scrollable maxDate={new Date()} /> A workaround I've found is to change maxDate to current month + 1, so it renders the next month and the shifting is gone.

I appreciate any guidance on how I can proceed on this fix.

giorgiofellipe avatar Mar 12 '24 15:03 giorgiofellipe

@peacechen @tranjog any guidance is appreciated! ty

giorgiofellipe avatar Mar 27 '24 22:03 giorgiofellipe