facebook / yoga

Yoga is an embeddable layout engine targeting web standards.
https://yogalayout.dev/
MIT License
17.29k stars 1.43k forks source link

Examples from main page don't work in JavaScript #690

Closed lesnitsky closed 2 years ago

lesnitsky commented 6 years ago

None of examples demonstrated on yoga main page work when implemented in javascript.

That's how layout looks in several cases (I've adopted C, Obj C, Java, C# examples to javascript): C:

screen shot 2017-12-21 at 6 47 32 pm

Obj C:

screen shot 2017-12-21 at 6 48 25 pm

Java:

screen shot 2017-12-21 at 6 48 55 pm

C#:

screen shot 2017-12-21 at 6 49 51 pm

Reference repo: https://github.com/R1ZZU/yoga-playground

Is it a bug for real, or am I missing smth from docs?

lesnitsky commented 6 years ago

cc @woehrl01 @emilsjolander

deioo commented 5 years ago

Seemed related, but none of the examples on the website are working yoga-examples

emilsjolander commented 5 years ago

@danielbuechele

danielbuechele commented 5 years ago

The URLs for the playground changed. I'll push an update for that.

danielbuechele commented 5 years ago

Links to playgrounds should be fixed now

On Apr 3, 2019, at 10:48 AM, Emil Sjölander notifications@github.com wrote:

@danielbuechele https://github.com/danielbuechele

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/facebook/yoga/issues/690#issuecomment-479419383, or mute the thread https://github.com/notifications/unsubscribe-auth/AAp2rDuSruUJnJL8JdJCRl3efrg7_NT3ks5vdHj5gaJpZM4RKALA .

NickGerleman commented 2 years ago

It looks like this issue is stale. Please reopen if you are encountering the same issue!