Skip to content

Commit

Permalink
fix(fxFlex): use correct type for basis validation in reflow case (an…
Browse files Browse the repository at this point in the history
  • Loading branch information
CaerusKaru authored Jul 4, 2019
1 parent 6bbfe23 commit d02377a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/flex/flex/flex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export class FlexDirective extends BaseDirective2 {
protected triggerReflow() {
const activatedValue = this.activatedValue;
if (activatedValue !== undefined) {
const parts = validateBasis(activatedValue, this.flexGrow, this.flexShrink);
const parts = validateBasis(activatedValue + '', this.flexGrow, this.flexShrink);
this.marshal.updateElement(this.nativeElement, this.DIRECTIVE_KEY, parts.join(' '));
}
}
Expand Down

0 comments on commit d02377a

Please sign in to comment.