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
Some kind of overflow happens if there are at least 3 children, each returning a .01 value in the measure function, and their summed height is greater than 32; all children must set flex-shrink to 1,, and the available height must be smaller than the summed margins.
Changing the measure function of any child to a value retuning .02 returns the correct output
e.g. child1.setMeasureFunc(() => ({ width: 1, height: 10.02 }))
The text was updated successfully, but these errors were encountered:
bbohlender
changed the title
Incorrect calculated position and size with flex shrink 1 and specific floating point values
Incorrect computed height and top value with flex shrink 1 and specific floating point values
Apr 26, 2024
Report
Some kind of overflow happens if there are at least 3 children, each returning a
.01
value in the measure function, and their summed height is greater than 32; all children must set flex-shrink to1,
, and the available height must be smaller than the summed margins.I am using the npm yoga-layout/load version
3.0.4
Issues and Steps to Reproduce
Expected Behavior
console output should be
Actual Behavior
Changing the measure function of any child to a value retuning
.02
returns the correct outpute.g.
child1.setMeasureFunc(() => ({ width: 1, height: 10.02 }))
The text was updated successfully, but these errors were encountered: