Multi-select with Undo

Hi

I think there is some problem with Undo after using multi-select to move tasks.

Here is a video I recorded of using one of the demo samples. As you can see from the video, clicking Undo is doing something that I can’t understand.

https://www.screencast.com/t/26YsGwPicZ

Best regards

Keith

Hello Keith,
We are aware of the issue that the undo extension skips some steps in bulk operation because it considers them as one change. The dev team will fix that bug in the future, but I cannot give you any ETA.

As a workaround, you can manually update each task before dragging all of them:
https://files.dhtmlx.com/30d/74b3cdaadca6e0d286ccde70c41af069/vokoscreen-2021-03-26_14-30-04.mkv

Hi

Many thanks for your reply.

That makes sense. I’ll look out for the fix at some point in the future.

Best regards

Keith

Hello Keith,

The dev team fixed the bug when the undo extension skips some steps in bulk operations:
https://docs.dhtmlx.com/gantt/whatsnew.html#x8361x70x8362x:~:text=Fix%20the%20issue%20that%20caused%20the%20Undo%20extension%20to%20skip%20some%20actions%20in%20bulk%20operations

You can see that it is no longer reproduced in the following samples:
http://snippet.dhtmlx.com/5/4aa12a30b
https://snippet.dhtmlx.com/5/5979d8fda
https://docs.dhtmlx.com/gantt/samples/02_extensions/09_multiselection.html
https://snippet.dhtmlx.com/77pdkzkj

@ramil Thank you for following this up. We will use this Undo enhancement as soon as possible.