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

Focus after programmatically changing date range #43

Open
Zat42 opened this issue Feb 7, 2023 · 1 comment
Open

Focus after programmatically changing date range #43

Zat42 opened this issue Feb 7, 2023 · 1 comment
Assignees

Comments

@Zat42
Copy link

Zat42 commented Feb 7, 2023

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

@tusharf5
Copy link
Contributor

Hi @Zat42 thanks for reporting the issue. I will look into it this week.

@tusharf5 tusharf5 self-assigned this Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants