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

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

Closed
Dmitry2703 opened this issue Mar 15, 2018 · 2 comments
Closed

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

Dmitry2703 opened this issue Mar 15, 2018 · 2 comments

Comments

@Dmitry2703
Copy link

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?

@gpbl
Copy link
Owner

gpbl commented Apr 14, 2018

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

@Dmitry2703
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants