diff --git a/packages/dockview-core/src/dockview/dockviewComponent.ts b/packages/dockview-core/src/dockview/dockviewComponent.ts index 152285f39..547c47120 100644 --- a/packages/dockview-core/src/dockview/dockviewComponent.ts +++ b/packages/dockview-core/src/dockview/dockviewComponent.ts @@ -1501,22 +1501,6 @@ export class DockviewComponent ); } - if (options.popout) { - const group = this.createGroup(); - this._onDidAddGroup.fire(group); - - this.addPopoutGroup(group); - - const panel = this.createPanel(options, group); - - group.model.openPanel(panel, { - skipSetActive: options.inactive, - skipSetGroupActive: options.inactive, - }); - - return panel; - } - const initial = { width: options.initialWidth, height: options.initialHeight, diff --git a/packages/dockview-core/src/dockview/options.ts b/packages/dockview-core/src/dockview/options.ts index d21418730..3e87923a2 100644 --- a/packages/dockview-core/src/dockview/options.ts +++ b/packages/dockview-core/src/dockview/options.ts @@ -252,7 +252,6 @@ export type AddPanelOptions
= {
inactive?: boolean;
initialWidth?: number;
initialHeight?: number;
- popout?: boolean;
} & Partial