Encountering a problem with flexbox in IE11. The flex-items overlap when using flex-direction: column
:
https://i.sstatic.net/fHBw0.png
In chrome and safari, it appears like this:
https://i.sstatic.net/c2h7P.png
.container {
display: flex;
flex-direction: column;
}
.flex {
flex: 1 1 0%;
}
<div class="container">
<div class="flex">
Hello
</div>
<div class="flex">
World
</div>
</div>
Created a codepen to showcase the issue:
http://codepen.io/csteur/pen/XMgpad
Any suggestions on how to prevent this overlapping layout in IE11?