Gantt Export cuts vertical height

When i set raw: true no matter if i have applied styles or not if the number of tasks goes beyond the viewport of the screen when the gantt is exported to pdf or png the tasks below the viewport are missing. Only links are visible.

Any solution???

Hi @Nikolai_Dimentiev,
This issue occurs in versions of gantt below “6.2.7”. If you use an old version, as a workaround solution, you could change gantt.config.smart_rendering to false before gantt.exportToPDF() call, and set it back to true, after that.
Don’t forget to reinitialize gantt after config changes, to appear them. I made an example of how it could be implemented: