Our state of the art Gantt chart
Hi,
I am not sure if this intended but if it is, I would like to remove this feature. When I'm using the taskdragcreate and still hold left click (before the creation is done) and then press ESC, the task is then deleted. This is easily reproducible in any of the examples if you add a new task, remove the start/end date and then attempt to taskdragcreate.
The expected behavior for me would be to simply cancel the creation. Let's say a user was about to schedule a task but changes his mind just before, pressing ESC seems to make sense to cancel the creation.
Thank you for the help.
Yes, this ia a bug in the Gantt subclass of drag create.
In the context of Gantt, it's not a task create - the task has to exist. It's a task schedule operation, so ESC must not remove.
Here is the ticket, we will fix it as soon as possible: https://github.com/bryntum/support/issues/3576
I can't see the task being remove, however I see another strange artefact - the task bar stays. Is that what you refer to?
Yeah the task bar stay there and the problems I mentionned remains
Just to clarify: the original problems you mentioned was that the task was removed. Now it’s a completely new behavior bug?
Yeah that's on me, I was thinking of another forum post I made. I just meant that when you cancel the task, the task is still visible and also causes a lot of errors in the console and cannot be moved or edited. But you are right, the main issues is that the block is still there.
Ok good, new issue fixed too!