File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ Change log
129
129
130
130
## 12.1.1-dev (TBD)
131
131
* fix [ #3043 ] ( https://github.com/gridstack/gridstack.js/issues/3043 ) fix ` opts.animate ` again
132
+ * fix [ #3047 ] ( https://github.com/gridstack/gridstack.js/pull/3047 ) nested grid resizeToContentCBCheck() fix
132
133
133
134
134
135
## 12.1.1 (2024-04-28)
Original file line number Diff line number Diff line change @@ -1616,7 +1616,7 @@ export class GridStack {
1616
1616
}
1617
1617
1618
1618
// if we're a nested grid inside an sizeToContent item, tell it to resize itself too
1619
- if ( parent && ! parent . grid . engine . batchMode && Utils . shouldSizeToContent ( parent ) ) {
1619
+ if ( parent && Utils . shouldSizeToContent ( parent ) ) {
1620
1620
parent . grid . resizeToContentCBCheck ( parent . el ) ;
1621
1621
}
1622
1622
You can’t perform that action at this time.
0 commit comments