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 7463cef commit 65accb4Copy full SHA for 65accb4
src/gridstack.js
@@ -1091,14 +1091,14 @@
1091
maxHeight = this._styles._max;
1092
}
1093
1094
- if (this._styles._max !== 0 && maxHeight <= this._styles._max) { // Keep this._styles._max increasing
1095
- return ;
1096
- }
1097
this._initStyles();
1098
this._updateContainerHeight();
1099
if (!this.opts.cellHeight) { // The rest will be handled by CSS
1100
return ;
1101
+ if (this._styles._max !== 0 && maxHeight <= this._styles._max) { // Keep this._styles._max increasing
+ return ;
+ }
1102
1103
if (!this.opts.verticalMargin || this.opts.cellHeightUnit === this.opts.verticalMarginUnit) {
1104
getHeight = function(nbRows, nbMargins) {
0 commit comments