Combining align-content and align-items cause incorrect behavior #1739
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
Issues and Steps to Reproduce
After upgrading Yoga from version 1.19.0 to 3.1.0, I encountered unexpected behavior when using both align-content and align-items. The layout output seems incorrect in the new version. I tested the same layout on Chrome, and Yoga 1.19.0 aligns correctly with Chrome’s behavior, which matches my expectations.
Here is the test code from Yoga Playground:
Expected Behavior
You can see the expected behavior in this JSFiddle:

Actual Behavior
The actual output in Yoga 3.1.0 does not match the expected result:

Fixed in Yoga 3.2.0 with above PR
