Horizontal scroll performance issue when there are more tasks

Hi,
I have upgraded the dhtmlx gantt library from 4.2.1 to 7.0.10 , even then the horizontal scroll in the gantt area is very slow and causing performance issue. I have used addTaskLayer() to show different colours for different tasks based on our custom conditions. is that causing issue ?

Can anybody please help me with this ?

Chrome version: Version 86.0.4240.111
Safari version: Version 14.0

Hello,
The additional task layer can cause performance issues if you add a lot of HTML elements. However, it can be related to something else. 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:
https://snippet.dhtmlx.com/38ee1b370
Or send me a ready demo with all the necessary Javascript and CSS files so that I can reproduce the issue locally.