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

Support justifyItems and justifySelf #1649

Open
1 task done
necolas opened this issue Apr 18, 2024 · 1 comment
Open
1 task done

Support justifyItems and justifySelf #1649

necolas opened this issue Apr 18, 2024 · 1 comment

Comments

@necolas
Copy link

necolas commented Apr 18, 2024

Report

Issues and Steps to Reproduce

  • CSS Flexbox properties justifyItems and justifySelf are not supported (e.g., in React Native).
  • Also properties placeContent, placeItems, and placeSelf - which could be implemented once all the align* and justify* props are supported.
  • Couldn't find any references to them via code search of the repo.

Expected Behavior

Support for the missing properties.

@NickGerleman
Copy link
Contributor

justify-items and justify-self for flex containers is confined to absolutely positioned items, so it will be a bit less common than the usage for block, grid. Still potentially worth adding though (cc @joevilches who recently spent a lot of time fixing up absolutely positioned child alignment).

place-* shorthands seem sane enough to add, but probably at RN layer. I've been trying to get to a place where Yoga operates on something closer to computed style.

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