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 32a20d3 + a38d78e commit 2037a70Copy full SHA for 2037a70
src/gridstack.js
@@ -947,14 +947,14 @@
947
if (typeof maxHeight == 'undefined') {
948
maxHeight = this._styles._max;
949
}
950
+ if (this._styles._max !== 0 && maxHeight <= this._styles._max) { // Keep this._styles._max increasing
951
+ return ;
952
+ }
953
this._initStyles();
954
this._updateContainerHeight();
955
if (!this.opts.cellHeight) { // The rest will be handled by CSS
956
return ;
957
- if (this._styles._max !== 0 && maxHeight <= this._styles._max) {
- return ;
- }
958
959
if (!this.opts.verticalMargin || this.opts.cellHeightUnit === this.opts.verticalMarginUnit) {
960
getHeight = function(nbRows, nbMargins) {
0 commit comments