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

DayPickerInput: month isn't being reset after closing overlay #667

Dmitry2703 opened this Issue Mar 15, 2018 · 2 comments


2 participants

Dmitry2703 commented Mar 15, 2018

After updating react-day-picker from v. 6.2.1 to 7.0.7 I noticed that when I open the overlay (e.g., current value of DayPickerInput is 15th of March), change month (e.g., to August) and close it without selecting a day and then open it again, it shows me the previous month (August), but not month of current value in DayPickerInput (March).

You can see this behavior in the docs (

In the previous version (6.2.1) after closing the overlay and opening it again it showed the current month (March).

Is there a way to reset the month after closing the overlay without changing the day?


This comment has been minimized.


gpbl commented Apr 14, 2018

The fix has been published in v7.1.5. Please report back if you have some feedback, thanks!


This comment has been minimized.

Dmitry2703 commented Apr 14, 2018

Seems to work very good, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment