Faded tasks showing when splitting Tasks

Is there a way to prevent the faded task in the Gannt chart? I believe this only happens to the parent task. Thank you, I appreciate the help.

I am using the approach explained here Split Tasks Gantt Docs to split the tasks.

As you can see, there is a middle task between two red tasks that is blue and faded. How could I prevent that? Thanks

Alright I got to solve this issue. The faded tasks I was getting were all parents. I looked carefully at the article here https://docs.dhtmlx.com/gantt/desktop__split_tasks.html and realized that Task #2.1 in the example has the same start_date and duration than its parent, so I did an additional Task in my code to copy its parent duration and start_date and cover the faded parent task.

Hello Chris,
If you only wanted to hide the faded parent task, you could add the following CSS rule:

.gantt_split_parent{
  visibility: hidden;
}

Here is the snippet:
http://snippet.dhtmlx.com/3a10e2924

not really what I wanted cause that would make the parent task to go invisible. My solution above, worked. Thanks though :wink: