Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit d02377a

Browse files
authored
fix(fxFlex): use correct type for basis validation in reflow case (#1095)
Fixes #1089
1 parent 6bbfe23 commit d02377a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/flex/flex/flex.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ export class FlexDirective extends BaseDirective2 {
279279
protected triggerReflow() {
280280
const activatedValue = this.activatedValue;
281281
if (activatedValue !== undefined) {
282-
const parts = validateBasis(activatedValue, this.flexGrow, this.flexShrink);
282+
const parts = validateBasis(activatedValue + '', this.flexGrow, this.flexShrink);
283283
this.marshal.updateElement(this.nativeElement, this.DIRECTIVE_KEY, parts.join(' '));
284284
}
285285
}

0 commit comments

Comments
 (0)