From c216d703544dcd3686164dd3c4abefe8ef4abfbe Mon Sep 17 00:00:00 2001 From: mathuo <6710312+mathuo@users.noreply.github.com> Date: Sat, 21 Dec 2024 14:00:57 +0000 Subject: [PATCH] chore: comments --- packages/dockview-core/src/dockview/dockviewComponent.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/dockview-core/src/dockview/dockviewComponent.ts b/packages/dockview-core/src/dockview/dockviewComponent.ts index 547c47120..42cbe01c7 100644 --- a/packages/dockview-core/src/dockview/dockviewComponent.ts +++ b/packages/dockview-core/src/dockview/dockviewComponent.ts @@ -741,6 +741,7 @@ export class DockviewComponent itemToPopout.api.id ) ?.overlay.toJSON(); + this.removeGroup(referenceGroup); break; @@ -859,7 +860,9 @@ export class DockviewComponent this.overlayRenderContainer; removedGroup.model.location = { type: 'grid' }; returnedGroup = removedGroup; + this.movingLock(() => { + // suppress group add events since the group already exists this.doAddGroup(removedGroup, [0]); }); }