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
Use dayPickerProps controlled month before value. #612
Hello @gpbl !
First thank you for your time commitment to this project, it is very useful!
This change is a re-ordering of how the current month is calculated from props. I believe it should use the controlled month from
My specific use case is a 4-month calendar using the DayPickerInput date range selection with a from/to input. In my case I want the first month in the 4 month range to show the start of the range but it will default to using the current value. Which on the
Otherwise I don't think there is a way to use
Let me know if there is anything else I can provide to make this easier!
@@ Coverage Diff @@ ## master #612 +/- ## ===================================== Coverage 100% 100% ===================================== Files 15 15 Lines 621 619 -2 Branches 133 132 -1 ===================================== - Hits 621 619 -2