Skip to content

Navigation Menu

Sign in
Sign up

Layout breaks when the first element has a different minWidth than the rest #2006

Open
react/react-native
#58395

Description

I have a row of buttons which should space evenly. I can set a minWidth or a flexBasis on them without issue except if it's the first one. If I give them all the same minWidth or flexBasis value, there's no issue either.

I had AI generate a demo for me:

yoga-bug-demo.html

Btw i'm stuck on 2.0.1 becaues I can't use webassembly in the environment I'm working in.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /