<flex1 style="width: 400px; padding: 5px; background-color: #333; display: flex; flex-direction: column; flex-wrap: wrap;">
<item style="background-color: #999;">
<flex2 style="display: flex; flex-wrap: wrap; padding: 7px;">
<one style="background-color: #ccc; padding: 5px; flex-basis: 50%; margin-right:3px;">One</one>
<two style="background-color: #ccc; padding: 5px;">Two</two>
</flex2>
</item>
</flex1>
I expect that flex1 will wrap around flex2
Seems like flex2 has an invisible wrap. But if you remove flex: wrap
from flex1 then that wrap will disappear. Really strange behaviour that is implemented in all browsers.