In my application I change gantt chart dynamically when user changes page size. Everything is changing size as expected accept vertical scroll. It’s not changing it size and cause issues on the page.
More details on the screen:
Unfortunately, I couldn’t reproduce the issue in the following snippet:
The issue can be related to Gantt configuration or it happens because of something else. But it is hard to suggest what might be wrong as I don’t see your code.
Please, reproduce the issue in the snippet, then click on the “Share” button and send me the link:
I try to reproduce it, but it works fine in snippet.
You example is not correct, you need to subscribe to window resize event and set gantt size to fix new window size. Also it happens only when you resize window with “Restore down” button.
It is not necessary to subscribe to the window event. Starting from the 6.0 version, Gantt listens to the browser window resize event and its container resize and repaints itself:
If you use Salesforce, it works in a different way, it was fixed in the 6.1.2 version:
However, Gantt works correctly in both implementations.
You can send me an HTML file with all the necessary files or a ready demo so that I can reproduce the issue locally.
ok I will try to create real example to reproduce it