Skip to content

Modifiers don't apply to multi-element views correctly. #5

Description

@ahti

Comparing the following snippet between Mac and Linux, Mac shows a border around each child, while on Linux a single border is drawn around them together:

VStack {
    ForEach(1..<5) { i in
        Text("Child \(i)")
    }.border(Color.red)
}

The same can be observed when using a view that has multiple top-level children in its body.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions