Cesium doesn't take parent's height

I’ve started using the flex grid, and I’ve neatly placed my dom elements using flex col/row layouts.
Cesium doesn’t seem to conform there.:


I’ve managed to solve this by changing the height of the canvas after a timeout, but this seems hackish. Any idea why this happens?


You should be able to fix this by adding position: relative to the parent element’s style. Then you’ll have to change the style of the cesium viewer div to position:absolute.


Works like a charm. Thanks :slight_smile: