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 2dc5bad + fabfb77 commit 3653474Copy full SHA for 3653474
src/gridstack.js
@@ -974,14 +974,14 @@
974
if (typeof maxHeight == 'undefined') {
975
maxHeight = this._styles._max;
976
}
977
- if (this._styles._max !== 0 && maxHeight <= this._styles._max) { // Keep this._styles._max increasing
978
- return ;
979
- }
980
this._initStyles();
981
this._updateContainerHeight();
982
if (!this.opts.cellHeight) { // The rest will be handled by CSS
983
return ;
984
+ if (this._styles._max !== 0 && maxHeight <= this._styles._max) { // Keep this._styles._max increasing
+ return ;
+ }
985
986
if (!this.opts.verticalMargin || this.opts.cellHeightUnit === this.opts.verticalMarginUnit) {
987
getHeight = function(nbRows, nbMargins) {
0 commit comments