Open michaelobriena opened 9 years ago
Probably caused by incorrectly setting the initial container size. I remember that we had a similar issue when the root element was detached instead of hidden
. This might be a regression.
That is not the case. It has to do with the fact that we need the content div to have position absolute since it would otherwise affect the positioning of children. As such, it stops the div from growing in a strange way.
When a node with a DOMElement is marks to be render sized width with content being a string, the width is is determined by the longest individual word. I would imagine that this example would have a single line of text.