Skip to content

Commit 990456d

Browse files
committed
add resizeToContentCheck() on nested grids
1 parent a46fd5d commit 990456d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/gridstack.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,10 @@ export class GridStack {
577577
subGrid.makeWidget(node.el, node);
578578
}
579579
}
580+
581+
// if sizedToContent, we need to re-calc the size of ourself
582+
this.resizeToContentCheck(false, node);
583+
580584
return subGrid;
581585
}
582586

0 commit comments

Comments
 (0)