Hi,
We are experiencing some issues with the zoomTo function after upgrading Bryntum Gantt from 5.1.5 to 5.2.10 (Chrome, MacOS).
https://bryntum.com/products/scheduler/docs/#Scheduler/view/mixin/TimelineZoomable#function-zoomTo
We are calling this function with a config object including preset and centerDate which has worked previously, but this is throwing an error after upgrade and preventing the chart from rendering.
{
"preset": "monthsCustom",
"centerDate": "2023-03-05T20:23:20.259Z"
}
The internalOnReconfigure function looks to be expecting the presence of startDate and endDate in the config, I can see adjustedStart and adjustedEnd present in the block scope but not in use at this point - see below a screenshot of the caught exception and call stack.
Do you have any thoughts on what the issue might be here? Has something changed regarding the expected config parameters in this version?
Thanks,
Callum