[bug] alignItems
not working
#1695
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
See Playground Example
Try changing alignItems to center or flex-end and notice it is not working the same as with CSS.
Expected Behavior
Expecting it to work like in CSS. Video:
https://github.com/user-attachments/assets/5d4663d1-6b7f-44aa-b8e1-3919abdc45d6
Actual Behavior
In the yoga example, the items do not shift like in the CSS video
Link to Code
see above
I deleted all my comments. There were multiple issues, but I simplified the OP to show the one main issue that might be (or hint at) the root of other issues.
Yoga vs web for reference: https://jsfiddle.net/xkrfp2do/1/
This looks like a bug with
alignContent: stretch
impl.Fixed as of 3.1.0.
