Etemplate - Ignore all hidden nodes when re-calculating size, fixes nm resizing issue with other hidden nodes after it

This commit is contained in:
nathangray 2017-09-19 11:06:53 -06:00
parent 3d57827d8c
commit 1cddf83306

View File

@ -81,6 +81,9 @@ var et2_dynheight = (function(){ "use strict"; return Class.extend(
);
continue;
}
// Ignore other hidden nodes
if(!this.bottomNodes[i].is(':visible')) continue;
// Get height, top and bottom and calculate the maximum/minimum
var bh = this.bottomNodes[i].outerHeight(true);
var bt = this.bottomNodes[i].offset().top;