Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
DayPickerInput: month isn't being reset after closing overlay #667
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 (http://react-day-picker.js.org/examples/input-custom-overlay)
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?