From ff315feb7138a13825bb4eb35bc008227ce6b8ac Mon Sep 17 00:00:00 2001 From: Aaron Dodson Date: Fri, 19 Dec 2025 12:48:07 -0800 Subject: [PATCH] fix: Disable undoing events generated from flyout layout --- core/flyout_base.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/flyout_base.ts b/core/flyout_base.ts index 492d3341762..91c71839db3 100644 --- a/core/flyout_base.ts +++ b/core/flyout_base.ts @@ -616,6 +616,7 @@ export abstract class Flyout */ show(flyoutDef: toolbox.FlyoutDefinition | string) { this.workspace_.setResizesEnabled(false); + eventUtils.setRecordUndo(false); this.hide(); this.clearOldBlocks(); @@ -641,6 +642,7 @@ export abstract class Flyout this.width_ = 0; } this.reflow(); + eventUtils.setRecordUndo(true); this.workspace_.setResizesEnabled(true); // Listen for block change events, and reflow the flyout in response. This