You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to pass a value of 0 for the basis prop, the FlexView will ignore that and leave the basis at auto (its default). This can also be seen on the live playground (in the interactive section at the bottom, try entering 0 as the basis).
I suspect this is happening because of an if-condition that checks the value of basis, and a value of 0 evaluates to be falsy, so the if-block acts as if no basis prop was provided. This is potentially happening in FlexView.tsx, on line 201, in the getBasis function.
The text was updated successfully, but these errors were encountered:
If I try to pass a value of
0
for thebasis
prop, the FlexView will ignore that and leave thebasis
atauto
(its default). This can also be seen on the live playground (in the interactive section at the bottom, try entering0
as thebasis
).I suspect this is happening because of an if-condition that checks the value of
basis
, and a value of0
evaluates to be falsy, so the if-block acts as if nobasis
prop was provided. This is potentially happening in FlexView.tsx, on line 201, in thegetBasis
function.The text was updated successfully, but these errors were encountered: