DayPilot.Gantt: JS errors when moving collapsed children with paths into collapsed parents
2 years ago.
In DayPilot.Gantt, we receive JavaScript errors like
Error: <path> attribute d: Expected number, "M 120 NaN C NaN NaN,Na…".
when moving a collapsed child group into another collapsed group. It can also be observed in the online demo at https://javascript.daypilot.org/demo/gantt/
Replicate in the online demo by:
-
Collapsing Task 0 and Task 1
-
Moving (dragging) Task 1 into Task 0
This creates four JS errors in the console.
Generally speaking, Task 0 and Task 1 are logically connected in a way that would make it generally illogical to do such a move, but we observe users doing it anyways…
DayPilot