Incorrect computed height and top value with flex shrink 1 and specific floating point values #1651
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 }))