Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shifting one month back if scrollable and maxDate is current month #371

Open
giorgiofellipe opened this issue Mar 12, 2024 · 1 comment
Open

Comments

@giorgiofellipe
Copy link
Contributor

giorgiofellipe commented Mar 12, 2024

While investigating it I've found out two other bugs that have been addressed here #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
Copy link
Contributor Author

@peacechen @tranjog any guidance is appreciated! ty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant