If a subnode is small enough, the computed display height can be negative. It creates a weird rendering on Firefox, Chrome, and produces an error on IE.
The problem is in Layouts.TM.js, in the computePositions functionheight = chi.getData('height', prop) - offst - config.titleHeight,
If chi.getData('height', prop) is smaller than config.titleHeight, the computed height is negative.
I just added this line as a workaround (the node is not displayed, but the rendering is ok in all browsers)
height = height < 0 ? 0 : height;
If a subnode is small enough, the computed display height can be negative. It creates a weird rendering on Firefox, Chrome, and produces an error on IE.
The problem is in Layouts.TM.js, in the computePositions function
height = chi.getData('height', prop) - offst - config.titleHeight,
If chi.getData('height', prop) is smaller than config.titleHeight, the computed height is negative.
I just added this line as a workaround (the node is not displayed, but the rendering is ok in all browsers)
height = height < 0 ? 0 : height;