Gantt editing is disabled unexpectedly

I have a Gantt that I can edit (set up the config).
I’m adding tasks through code and can see them in the Gantt, but while I am able to edit the progress and add more tasks, I cannot move the task around using drag and drop and creating links is showing like its working (showing the orange line when I pull it) but when releasing the mouse, the link is not created.

Why is this happening?
One thing that I noticed is when I use gantt.parse for the data it doesnt happen, but when I use the addTask to add the tasks this is the issue (i need to use addTask).

Hello @Refael_cohen ,

I tried to reproduce this issue, but adding tasks with the addTask method and their dragging/changing worked correctly:
https://recordit.co/biiKDoSsuY

Here is a demo:
http://snippet.dhtmlx.com/5/2c6088539

It’s hard to suggest what exactly goes wrong as I can’t reproduce the issue. Could you please provide more details, or reproduce it in the demo above(open the demo> reproduce the issue => click the “Share” button => send me the new link)?

Turned out to be a problem with some of the data inserted. Still not sure why an error wasn’t thrown but the issue was definitely on my end. Thanks