I've read (https://github.com/philipwalton/flexbugs) that there are still many bugs open for flexbox in IE11 and lower. Now I may have a problem that is probably not listed.
PROBLEM flex items are not displayed next to each other and do not respect the given flex-basis percentage.
My code: (with prefixes from autoprefixer dependency)
.flex-container {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.flex-item {
-webkit-flex: 1 1 30%;
-ms-flex: 1 1 30%;
flex: 1 1 30%;
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
-webkit-flex-shrink: 1;
-ms-flex-negative: 1;
flex-shrink: 1;
-webkit-flex-basis: 30%;
-ms-flex-preferred-size: 30%;
flex-basis: 30%;
}
HTML
<div class="flex-container">
<div class="flex-item"> lorem stuff </div>
<div class="flex-item"> lorem stuff </div>
<div class="flex-item"> lorem stuff </div>
<div class="flex-item"> lorem stuff </div>
<div class="flex-item"> lorem stuff </div>
<div class="flex-item"> lorem stuff </div>
</div>
The above code is the basic of the basics and doesn't even work. Is there something going on with flexbox in IE11 apart from the above-mentioned bugs?
When I use my full code everything works fine in codepen on IE11. It makes me wonder...
Thanks in advance