Why does .sheet Modifier not work inside Toolbar in SwiftUI?
Context
I have a Menu (including multiple Buttons) inside a SwiftUI Toolbar and a .sheet() Modifier inside the Toolbar, too.
The problem is, that pressing the Button with the show.toggle() action does not present the Sheet as expected.
Please Note: My actual app architecture is more complex than this MRE, so moving the .sheet() outside of the Toolbar is pretty difficult.
Code
struct MainView: View {
var show: Bool = false
var body: some View {
NavigationStack {...