BottomSheet is moving the view behind when I drag it.
Opened this issue · 0 comments
loryhuz commented
Describe the bug
BottomSheet is moving the view behind when I drag it.
Minimal reproduce-able code
Use the test project and put this in BottomSheetTestsApp file:
`@main
struct BottomSheetTestsApp: App {
@State var isPresented = false
var body: some Scene {
WindowGroup {
Rectangle().onAppear(perform: {
isPresented = true
}).sheet(isPresented: $isPresented, content: {
ContentView()
})
}
}
}`
Expected behavior
View behind the BottomSheet should not move along the BottomSheet
Screenshots
scrollCollide.mov
Target version
- Environment: iOS Iphone simulator
- Version: iOS 17