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 fa4f2d0 commit a38d78eCopy full SHA for a38d78e
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