Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What are some reasons alignItems may not work? #1695

Open
1 task done
trusktr opened this issue Sep 2, 2024 · 2 comments
Open
1 task done

What are some reasons alignItems may not work? #1695

trusktr opened this issue Sep 2, 2024 · 2 comments

Comments

@trusktr
Copy link

trusktr commented Sep 2, 2024

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:

Screen.Recording.2024-09-23.at.9.50.15.AM.mov

Actual Behavior

In the yoga example, the items do not shift like in the CSS video

Link to Code

see above

@trusktr
Copy link
Author

trusktr commented Sep 23, 2024

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.

@NickGerleman
Copy link
Contributor

NickGerleman commented Oct 14, 2024

Yoga vs web for reference: https://jsfiddle.net/xkrfp2do/1/

This looks like a bug with alignContent: stretch impl.

image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants