You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/CHANGES.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,8 @@ Change log
118
118
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
119
119
120
120
## 11.1.0-dev (TBD)
121
-
* fix: [#2877](https://github.com/gridstack/gridstack.js/pull/2877) make sure sub-grid inherit parent opts by default, with subgrid defaults.
121
+
* fix: [#2878](https://github.com/gridstack/gridstack.js/pull/2878) make sure sub-grid inherit parent opts by default, with subgrid defaults.
122
+
* fix: [#2879](https://github.com/gridstack/gridstack.js/pull/2879) sub-grid item `sizeToContent:true` now handle content above/below sub grid.
122
123
123
124
## 11.1.0 (2024-11-17)
124
125
* feat: [#2864](https://github.com/gridstack/gridstack.js/issues/2864) added `GridStackOptions.layout` for nested grid reflow during resize. default to 'list'.
Copy file name to clipboardExpand all lines: src/gridstack.ts
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1408,8 +1408,11 @@ export class GridStack {
1408
1408
constitemH=n.h ? n.h*cell-padding : item.clientHeight;// calculated to what cellHeight is or will become (rather than actual to prevent waiting for animation to finish)
1409
1409
letwantedH: number;
1410
1410
if(n.subGrid){
1411
-
// sub-grid - use their actual row count * their cell height
1411
+
// sub-grid - use their actual row count * their cell height, BUT append any content outside of the grid (eg: above text)
0 commit comments