Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix bug when passing a new `renderMonthTitle` on each render #1718
Describe the bug
If you change the
Select a start date and then select an end date that is before the start date (which forces a rerender and not the daypicker to destroyed and readded).
@ljharb sure, I have added some regression tests. As the code to test uses both refs and setTimeout the test is fairly complicated and kind of ugly