The documentation for ZoomToFit says that for all events in the store. However, in the reviews, he called himself a little different.
https://www.bryntum.com/docs/gantt/api/Scheduler/view/mixin/TimelineZoomable#function-zoomToFit
"Changes the range of the scheduling chart to fit all the events in its event store."
If there is a task in manual planning, far to the left of the project start line, then it is not taken into account. And the centering occurs as if relative to just the start of the project
Case:
- Open React Advanced Example
- Any task to do manual scheduling
- Move far left
- Press the button ZoomToFit