Containers in flex

Can someone tell me why, when I have containers inside a flex wrapper that have for example container-type: inline-size; set, the flex layout completely breaks? Is it a bug or a feature?
2 Replies
Martin Bavio
Martin Bavio2mo ago
No description
Martin Bavio
Martin Bavio2mo ago
I believe it's related to the fact that setting it as a container type of inline-size makes it ignore its child elements in the inline direction and that might get in the middle of flex calculations
Is it a bug or a feature?
potentially a feature since such a common case would have been covered way before if that would not be by design.

Did you find this page helpful?