I’ve this view with a GroupBox on the backside. I apply the concentric clipShape and it seems to be nice:
struct ContentView: View {
var physique: some View {
VStack {
Spacer()
NavigationLink("Push", worth: "Take a look at")
GroupBox("Take a look at") {
Textual content("Take a look at")
Textual content("Take a look at")
Textual content("Take a look at")
}
.clipShape(.rect(corners: .concentric))
}
.scenePadding()
.ignoresSafeArea(edges: [.bottom])
}
}
Nonetheless, if this can be a view that is been pushed onto a navigation stack, the primary view works, however the pushed one would not:
NavigationStack {
ContentView()
.navigationDestination(for: String.self) { _ in
ContentView()
}
}
Is there one thing I have to do to have the stack apply concentric corners?



