Skip to content
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
@adamdport

Description

@adamdport

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.

Metadata

Metadata

Labels

P1Urgent issue that should be resolved before the next re-leasebugenhancementhas prA PR has been created to address this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions