You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's easy enough getting the week containing the selected date to show in week view for single date selection by setting the currentDate. However when changing to week view with a date range selected (and after setting currentDate to the first date of the range), the calendar reverts to showing the week containing today.
For example, today is the 21st of June, if you select a range in say August, set the current date to the first date in your range, and collapse to week mode, the week shown will be the week containing the 21st of June. Expanding back to month mode the calendar will remain focused on June
The text was updated successfully, but these errors were encountered:
As a suggestion, could a method be added to the state builder/editor to specify our own date that we want to be the focus. Using that date to set calendarDayToShow in commit() if one is provided?
It's easy enough getting the week containing the selected date to show in week view for single date selection by setting the currentDate. However when changing to week view with a date range selected (and after setting currentDate to the first date of the range), the calendar reverts to showing the week containing today.
For example, today is the 21st of June, if you select a range in say August, set the current date to the first date in your range, and collapse to week mode, the week shown will be the week containing the 21st of June. Expanding back to month mode the calendar will remain focused on June
The text was updated successfully, but these errors were encountered: