dockview-core 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1188,7 +1188,7 @@ export class DockviewComponent extends BaseGrid {
1188
1188
  const refGroup = selectedGroup.referenceGroup
1189
1189
  ? this.getPanel(selectedGroup.referenceGroup)
1190
1190
  : undefined;
1191
- if (refGroup) {
1191
+ if (refGroup && refGroup.panels.length === 0) {
1192
1192
  this.removeGroup(refGroup);
1193
1193
  }
1194
1194
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dockview-core",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Zero dependency layout manager supporting tabs, grids and splitviews",
5
5
  "keywords": [
6
6
  "splitview",