We are trying to keep the initial startDate and endDate config when the time range header it clicked two time.
If you choose a day and click the timespan will change to 24h format and not respecting the range.
I used "timeRangeHeaderDblClick " event so that I can change the scheduler configuration but not seems good solution
and I did not managed to have the event after the clicks.
Also I used the "zoomKeepsOriginalTimespan" but no success.
its not prevent but preserve the initial configuration and referring to the first screen shot the range is between 6 and 21 hour of the day and screenshot shows the day without time, that its ok but when we click on a day we lost the initial time configuration so it stays now between 12AM and 10PM and we should keep it between 6 and 21h
Using timeRangeHeaderDblClick event I was not able to catch the event when double click the day that is zooming in to this 12AM and 10PM state so that I could reconfigure the scheduler again.
I don't think this way is a good solution even if it works
// inside scheduler listeners
timeRangeHeaderDblClick(data) {
console.log("🚀 ~ file: Planner.tsx ~ line 369 ~ timeRangeHeaderDblClick ~ data", data)
// to reconfigure the startDate and endDate time again
}