Hi,
I am using the React Calendar component (6.1.8) in a week resource configuration and when I attempt to update the dayStartTime & dayEndTime properties it is triggering an additional date change which is changing the selected date in the calendar.
For some background, our clients can have numerous clinics running at different times each week so when they move between weeks I am trying to refresh the dayStartTime & dayEndTime correctly.
The approach I have taken is to simply refresh the properties in the mode definition based on the current values held in state.
A cut down application is attached (TimeRangesApp.zip) to show the issue which basically changes the dayStartTime & dayEndTime values on each date click.
The application can be started by using npm run start.
The issue is that when the user clicks on a date in the middle of a week, the selected date in the calendar is being reset to the start of the selected week.
A video of the issue (Recording.web,) is attached showing this.
For example when I click on 9th April, it changes to 6th April.
Is there a way to stop this additional date change, or a better way for me to set the dayStartTime & dayEndTime properties, so the selected date stays as the one clicked?
Many thanks,
Gary