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.
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:
The same can be observed when using a view that has multiple top-level children in its
body.