Hi Bryntum Support,
I found a bug. zoomToFit doesn't work correctly if infiniteScroll is enabled.
To reproduce the bug, please execute the code below with the infinite scroll demo.
https://bryntum.com/products/gantt/examples/infinite-scroll/
gantt.zoomToFit({
leftMargin: 50,
rightMargin: 50,
})
I hope it will be fixed in the future.
If there's a workaround or a way to apply a patch, please let me know.
Regards,
Takafumi