We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f9d0c0 commit 0599524Copy full SHA for 0599524
2 files changed
doc/CHANGES.md
@@ -129,6 +129,7 @@ Change log
129
130
## 12.1.1-dev (TBD)
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
133
134
135
## 12.1.1 (2024-04-28)
src/gridstack.ts
@@ -1616,7 +1616,7 @@ export class GridStack {
1616
}
1617
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)) {
+ if (parent && Utils.shouldSizeToContent(parent)) {
1620
parent.grid.resizeToContentCBCheck(parent.el);
1621
1622
0 commit comments