This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
fxFlex="1 1 0" sets flex-basis to 100% #280
Closed
Description
CSS doesn't require units if the value is 0. fxFlex="1 1 0px"
(with units) works correctly and sets flex-basis to 0px. However, fxFlex="1 1 0"
(without units) erroneously sets it to 100%. flex: 1 1 0;
is valid CSS.
Some talk in #277 suggested it might be related to flexbug#4. If someone sets fxFlex="1 1 0" (without units), this API should set flex to 1 1 0px (with units) to satisfy flexbug#4.