Steps to reproduce:
Present sheet
Go to background
Go back to app
Dismiss sheet
Button has wrong tap area (It seems like its moved down by 50ish points)
It seems as if the view interaction hierarchy is the same as it was while the view was behind the sheet. See the image taken from View debugger below.
You can reproduce it by creating a new project and adding this as ContentView
import SwiftUI
struct ContentView: View {
@State var isPresented = false
var body: some View {
ScrollView {
Button("PresentSheet") {
isPresented = true
}
.background(Color.red)
}
.sheet(isPresented: $isPresented) {
Text("Sheet")
}
}
}
The bug is still present on iOS 16.1 beta 3
Selecting any option will automatically load the page