Tasks disappear after dragging them to the end of timeline

Hi there,

It a kind of unexpected behavior as you can see in the attached GIF below

preview1
task disappeared from timeline after dragging it to the end of timeline

It can be restored again to timeline, if I clicked “Zoom to fit” button twice.

Is it a common issue? can it be solved?

Hello @LouayH ,

it’s hard to say for sure what exactly goes wrong, as I don’t see the code,
but probably the issue occurs because of the round_dnd_dates config:
https://docs.dhtmlx.com/gantt/api__gantt_round_dnd_dates_config.html

Which rounds the dragged task to the cell which is outside the visible part of a chart(so it looks like the task disappears). You can just disable this config, so the issue should be solved.
If it’s not your case, could you please provide more details on how to reproduce it, or reproduce it in our snippet tool:

https://snippet.dhtmlx.com/5/98dc2fab0
(open the snippet above => reproduce the issue on HTML/CODE/DATA tabs => click the “Share” button => send me the new link)