Skip to content

NewLine in Loop not working #38

@ppoh71

Description

@ppoh71

Not sure if it's a bug ore a feature request but
adding new line inside a loop would be great to have.
This is not working currently.

WrappingHStack(1...20, id:\.self) {
   
  if $0 == 3 {
     NewLine()
   }

    Text("Item: \($0)")
        .padding(3)
        .background(Rectangle().stroke())
}.frame(minWidth: 250)

Otherwise working really great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions