When the number of tasks is large, the performance of scrolling page is slow, and there will be a blank area of 1 second when scrolling


#1

But I found that this would not happen to the official loading big datasets demo


#2

Hello,
That can happen if you have split tasks in the task rows. Gantt displays all split tasks on a task row even if they are outside the viewport.
Here is an example:
https://snippet.dhtmlx.com/5/2056442ea
The horizontal scroll works smoothly there as the tasks are already rendered. But the vertical scroll requires Gantt to create HTML elements of the whole rows, and it causes the lag.

If you don’t have split tasks, you might have a different use case, but as I don’t see your code, it is hard to suggest what might be wrong. In that case, please, add your configuration in the following snippet and make sure that the issue is reproduced there:
https://snippet.dhtmlx.com/38ee1b370
Then, click on the Share button and send me the link.
Or send me a ready demo with all the necessary Javascript and CSS files so that I can reproduce the issue locally.