react-calendar
react-calendar copied to clipboard
Focus after programmatically changing date range
Using calendar with isRangeSelector to true, displayed month is not changed when date range is updated.
For example, if initial date range is 2023-01-01 to 2023-01-10, initial "focus" will be January 2023. If I programmatically change it to 2023-03-01 to 2023-03-10, the focus will still be on January 2023 instead of March 2023.
Is there a way to specify what should be the current focus or default focus after an update (start date, end date, ...) ?
Thanks
Hi @Zat42 thanks for reporting the issue. I will look into it this week.