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.
2 parents a596e20 + 67b8555 commit b839db9Copy full SHA for b839db9
src/gridstack.ts
@@ -1725,7 +1725,7 @@ export class GridStack {
1725
// remove any key not found (null or false which is default, unless sizeToContent=false override)
1726
for (const key in n) {
1727
if (!n.hasOwnProperty(key)) return;
1728
- if (!n[key] && n[key] !== 0 && key !== 'gs-size-to-content') { // 0 can be valid value (x,y only really)
+ if (!n[key] && n[key] !== 0 && key !== 'sizeToContent') { // 0 can be valid value (x,y only really)
1729
delete n[key];
1730
}
1731
0 commit comments