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
maxWidth constraint is applied twice when measuring a view YGNodeBoundAxisWithinMinAndMax resolves max value with axisSize but axisSize was already constrained to the specified maxWidth value. So it basically does it twice.
Set maxWidth toYGPercentValue on the second view in a YGFlexDirectionRow container
Observe incorrect layout
Expected Behavior
Expected for the second subview in the example to be at most half its superview size.
Actual Behavior
The second subview in the example is 1/4 of the size.
Issues and Steps to Reproduce
maxWidth constraint is applied twice when measuring a view
YGNodeBoundAxisWithinMinAndMax
resolves max value withaxisSize
butaxisSize
was already constrained to the specified maxWidth value. So it basically does it twice.YGPercentValue
on the second view in aYGFlexDirectionRow
containerExpected Behavior
Expected for the second subview in the example to be at most half its superview size.
Actual Behavior
The second subview in the example is 1/4 of the size.
Link to Code
The text was updated successfully, but these errors were encountered: