onAfterTaskUpdate

Hello,ramil! I have a question about onAfterTaskUpdate listening event. When I was testing today, I found that when I updated the task, I just modified the date of the task, and this event will be triggered twice. Could you please help explain why it will be triggered twice?
Looking forward to hearing from you!
thank you!
1670921914089
image
image

Hello,
That can happen if you enable the multiselect extension. The dev team will fix that bug in the future, but I cannot give you any ETA.

If you don’t use the multiselect extension, it is hard to suggest what might be wrong as I don’t see your code.
In that case, please add your configuration to the following snippet and make sure that the issue is reproduced there:

Then, click on the Save button and send me the link.
Or send me a ready demo with all the necessary JavaScript and CSS files so that I can reproduce the issue locally.

Hello,
The dev team fixed the bug with the multiselect extension, so now the events don’t fire twice for the selected task:
https://docs.dhtmlx.com/gantt/whatsnew.html#x8318x90x8319x:~:text=Fix%20the%20duplicate%20event%20firing%20while%20interacting%20with%20a%20selected%20task%20when%20the%20Multiselect%20extension%20is%20enabled

You can see that the bug is no longer reproduced in the following samples:
http://snippet.dhtmlx.com/5/4c9b1a86e
https://snippet.dhtmlx.com/5/eb6369144
https://snippet.dhtmlx.com/5/b7925f34e