One workaround would be to dismiss any open sheets before the app is sent to background. This is what I'm doing. Obviously not ideal, and will also close sheets if someone pops over to their control center or notifications/lock screen, but better than vital buttons not working. 😅
.onReceive(NotificationCenter.default.publisher(for: UIApplication.willResignActiveNotification)) { _ in
self.isSheetPresented = false
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: