-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
When the date selection is canceled, the start month is set to last month. #5249
Comments
Hi @dongkyun-dev, I'll look into this issue. |
Hi, Currently I tried with the below code and it's working for me
|
@SaiBalaji202 @balajis-qb react-datepicker/src/index.tsx Lines 344 to 349 in b0d62d5
I can solve this issue by changing monthsShown temporary.
|
I couldn't get the actual issue described. Can you explain the issue once again with the expected and the actual behaviour? If you could share the sample code that reproduce the error, that would be even more helpful. Are you saying the issue is with For example
In this code, if I select any date from the current month (December 2024), November is not showing after cleanup. But if I select any date from the right side month (January, 2025 in our case), & then clear the date, now when I reopen it's showing November 2024 and Dec 2024 (which is wrong) and we need to display Dec 2024 and Jan 2025. Am I understanding the issue correctly? If my understanding is not correct, please share more details. |
#3875
Same for this. Any solution??
The text was updated successfully, but these errors were encountered: