Empty action is added to the undo stack when dragging block directly from the toolbox to trash #1458
Open
1 of 2 tasks
Labels
component: events
help wanted
External contributions actively solicited
issue: bug
Describes why the code or behaviour is wrong
low priority
Problem statement
If you drag a block directly from the toolbox straight into the trash, this generates an "undo" action. Rewinding this "undo" action does nothing.
Expected Behavior
No "undo" action should be added to the undo/redo stack.
Actual Behavior
All relevant events (create, move, delete) are added to the stack as a group.
Steps to Reproduce
Additional Information
I think the ideal behavior is to remove these events from the event stack, if this scenario is detected.
The text was updated successfully, but these errors were encountered: