Our state of the art Gantt chart


Post by phil714 »

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.


Post by Animal »

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


Post by phil714 »

I saw that this bug fix got release in the 4.3.1 version but when testing it by either downloading from the customerzone or directly in https://bryntum.com/examples/gantt/basic/, the same problem happen


Post by mats »

I can't see the task being remove, however I see another strange artefact - the task bar stays. Is that what you refer to?


Post by mats »


Post by phil714 »

Yeah the task bar stay there and the problems I mentionned remains


Post by mats »

Just to clarify: the original problems you mentioned was that the task was removed. Now it’s a completely new behavior bug?


Post by phil714 »

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.


Post by mats »

Ok good, new issue fixed too!


Post by phil714 »

Thank you!


Post Reply