AnsweredAssumed Answered

Can you use CSS Flexbox layout with JS API?

Question asked by klathan on Aug 10, 2017
Latest reply on Aug 11, 2017 by TSolow-esristaff

I tried to switch to a css flexbox layout for my overall web page layout and the map behaves very very poorly. I tried different combinations of positions and flex options, but the map either ignores other blocks, shrinks down to a small square, or only fills the screen in one direction. Has anyone successfully done this? The only way I can really get the map positioned where I want it is I use position: fixed on the map div and work around it, and that doesn't work with flexbox.

 

btw, I am on 3.18.

Outcomes