Flex-basis bug in 2022.3

Bug in 2022.3, cannot reproduce in 6 (not backported to LTS?)
flex-basis: 0% is ignored (behaves like ‘auto’), making the flex: 1 shorthand unusable (since it sets flex-basis to 0%)

Potential fix: set flex-basis explicitly to 0 (without %)

Another potential fix: align-self: stretch in conainer element

There was a big refactor of the layout calculations during the 2023 dev cycle to better conform with the css standard.

Bringing these changes back could cause us some unexpected breaking changes on already live game so it is too risky to backport.

Most of the differences observed are related to child with size in percentages inside parent where the size is auto. This make the parent depend on the child size and the children dependent on it’s patent size. There is currently efforts by the CSS committee to not make this an undefined behavior, but I’m personally not convinced with the results.

It makes me happy you notice the difference, but we cannot be cowboy with patch release!

I see
So the resolution for this is “won’t fix, use workaround”?

Yes. Considering the risk of causing regressions, that there is a workaround and that any value in percentage other than 0 would be undefined behavior, other fixes will be prioritized. It’s my personal opinion, but I would not expect a fix even if you were to fill a bug.