From a37225a6dc4369fcec14e2a704eaa6bef9842b8c Mon Sep 17 00:00:00 2001 From: John Nesky Date: Fri, 21 Feb 2025 19:57:02 -0800 Subject: [PATCH] fix: Mitigate shareable procedure flyout bug. --- plugins/block-shareable-procedures/src/blocks.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/block-shareable-procedures/src/blocks.ts b/plugins/block-shareable-procedures/src/blocks.ts index 83346409a6..07f2cc50ca 100644 --- a/plugins/block-shareable-procedures/src/blocks.ts +++ b/plugins/block-shareable-procedures/src/blocks.ts @@ -1068,7 +1068,10 @@ const procedureCallerUpdateShapeMixin = { doProcedureUpdate: function () { if (!this.getProcedureModel()) return; const id = this.getProcedureModel().getId(); - if (!this.getTargetWorkspace_().getProcedureMap().has(id)) { + if ( + !this.getTargetWorkspace_().getProcedureMap().has(id) && + !this.isInFlyout + ) { this.dispose(true); return; }