Skip to content

Undo/Redo with create/delete events does not trigger animations #5438

@BeksOmega

Description

@BeksOmega

Describe the bug

When you undo a create event, or redo a delete event, it does not trigger the delete animation.

To Reproduce
Create event:

  1. Go to the playground.
  2. Drag out a block.
  3. Use ctrl + z to undo
  4. Observe how there is no animation for the delete.

Delete event:

  1. Go to the playground.
  2. Drag out a block.
  3. Delete the block
  4. Use ctrl + z to undo
  5. Use ctr + shift + z to redo
  6. Observe how there is no animation for the delete.

Expected behavior

There should be fun animations :D

Fix
To fix this you should just need to add an extra true parameter here and here to trigger this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: eventshelp wantedExternal contributions actively solicitedissue: bugDescribes why the code or behaviour is wrong

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions