Closed lchamp closed 1 year ago
A shorter code, same issue, if needed
struct ContentView: View {
@State private var showMore: Bool = false
var body: some View {
VStack {
Spacer()
Text("ABCDEFG")
Text("HIJKLMNOP")
Text("Show sheet")
.onTapGesture {
showMore = true
}
.sheet(isPresented: $showMore) {
Text("Sheet content")
}
.presentationDetents([ .large, .medium ])
}
}
}
Thanks for explained description, I just fixed it in 2.0.4 release 👍
Hi there, thanks for your
NativePartielSheet
however I'm facing a little issue... Thankfully it can be reproduced easily as shown below.With the .sheet commented heres is the result (as expected):
However as soon as the sheet is being used, it moves everything to fill the screen and doesn't respect the Spacer() used. Resulting in this:
Not sure what causes the issue. I though it was related to the ZStack but doesn't seems so... I'll update if I find anything else. Let me know in case you look into it!