Changing `endMonth` to a date smaller than the currently viewed month removes the month grid and dropdowns
Open
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 780
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 3
Description
## To reproduce
CodeSandbox: https://codesandbox.io/p/sandbox/daypicker-bug-report-forked-cy6fxl
## Actual Behavior
Changing `endMonth` to a date smaller than the currently viewed month removes the month grid and dropdowns.
## Expected Behavior
Changing `endMonth` to a date smaller than the currently viewed month still shows the month grid and dropdowns. Potentially switch the view to the closest possible month.
## Screenshots
https://github.com/user-attachments/assets/3825da4b-779e-48fd-907f-567f63d5ca8b
Contributor guide
Assessment
This issue has not been assessed yet.