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.:

http://webiks.com/blog/ngcesium/#/home/cesium-up-and-running

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?

Thanks

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.

-Hannah

Works like a charm. Thanks :slight_smile: