Skip to content

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

Description

@Dagur

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.

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