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

Add flexbox support #20

Open
sornian opened this issue Apr 4, 2023 · 1 comment
Open

Add flexbox support #20

sornian opened this issue Apr 4, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@sornian
Copy link

sornian commented Apr 4, 2023

https://github.com/facebook/yoga

Yoga is a cross-platform layout engine which implements Flexbox. 

@SpartanJ SpartanJ self-assigned this Apr 5, 2023
@SpartanJ SpartanJ added the enhancement New feature or request label Apr 5, 2023
@SpartanJ
Copy link
Owner

SpartanJ commented Apr 5, 2023

I don't think yoga flexbox implementation would go well with the engine. The Flexbox layout needs to be implemented natively to be performant, it isn't that hard to add a Flexbox layout, I just didn't have the opportunity yet (but it's planned). There are some reference implementations that are very small and can be taken as a reference in the future, for example:
https://github.com/randrew/layout and https://github.com/Sleen/FlexLayout
This is an interesting project for a collaborator, anyone is more than invited to look into it if interested, I can provide support for the implementation.

@SpartanJ SpartanJ changed the title add yoga flexbox support Add flexbox support Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants