What I've found is that you need to set manually the height on children using
childrenNode.getBoundingClientRect().height