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; }