Split tasks Bug

Hi DHTMLX team,

Please take a look at this bug:

Steps to reproduce:

  1. Open this sample file: samples/04_customization/11_split_task.html
  2. Set the row_height:55 for the task id: 21, text: "Stage #1",.
  3. Add gantt.config.drag_links = false;

Expected result:
The gantt renders without errors.

Actual result:
An error is thrown: “Uncaught TypeError: Cannot read properties of null (reading ‘style’)”. Gantt stops responding.

Thanks,
Siroj

Hello Siroj,
Thank you for letting us know about the issue. I was able to reproduce it even with simpler configuration:
https://snippet.dhtmlx.com/02krw5cc

I added the bug to our internal bug tracker. The dev team will fix it in the future, but I cannot give you any ETA.
As a workaround, you can hide the link drags via CSS:

.gantt_link_control{
    display: none;
}

https://snippet.dhtmlx.com/ziwicl7o

1 Like