-
Notifications
You must be signed in to change notification settings - Fork 248
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
Style issues / feedback #217
Comments
I can confirm most of those issues, the one I've been missing the most though is surely the "gap" flex property, reason why I came here in the first place. |
It looks like |
Yes, Regarding
|
Doing a new release of Yoga is on my radar to happen soon, but this will likely only target Android and Apple platforms for now (packages on Maven Central and Cocoapods). The other supported platforms are not yet in a healthy state (and Apple really isn't either, but I think won't be too much work). I've honestly not been sure what to do with the NodeJS bindings. Jettisoning the NodeJS support and moving to a binding system meant just for |
I think you mean nbind is the dead-end, which is what Yoga's repo currently uses, right? embind looks to be the official Emscripten solution. It looks like much of the hard work of porting Yoga from It looks like the most widely used NPM Yoga package is yoga-layout-prebuilt as you mentioned, which is still using Regardless, it would be great to have a more up-to-date official solution available on the NPM ecosystem. This probably isn't the best place / issue for this discussion, however. @NickGerleman is there a better place to follow-up on this topic? Thanks! |
Sorry, yes The issue with Yoga's website build uses Node 12 + resolutions into unpublished facebook/yoga#979 is probably the best place for discussion. |
|
Here's my before & after in case you find it helpful (playground link).
I ended up starting mostly from scratch since there were so many small issues (definitely not a knock; this library is amazing).
Some of the issues I ran into include:
flexboxgap
property unsupportedvmin
,vmax
,vw
,vh
units silently unsupportedfontSize
inem
didn't seem to take effectdiv
must explicitly declaredisplay: flex
error came up a lot and is pretty annoying, though I understand the intent behind it since it differs from the normal HTML specbackgroundSize: cover
not supportedposition: absolute
doesn't seem to respect it's nearestrelative
ancestor; e.g,. it always is relative to the document rootfilter: blur(8px)
+transform: scale(1.1)
would work on the playground but not with the latest version of next.js. Not sure there's much that can be done with these sorts of things aside from just maturing the libs, but I wanted to at least call it out.None of these issues is a big deal; the real pain is that they're all silent, and the only way to figure out what works & what doesn't is through trial & error.
I know some of the compatibility issues are covered in the readme already and this list goes outside the scope of this issue, but I'm just giving feedback on my experience and hope you find it helpful.
Originally posted by @transitive-bullshit in #41 (comment)
The text was updated successfully, but these errors were encountered: