same issue +1, hope for fix
Post
Replies
Boosts
Views
Activity
Another way to test this issue is just use the Official "Hello World" example. I just add onDisappear to the first window.
WindowGroup("Hello World", id: "modules") {
Modules()
.environment(model)
.onDisappear(){
print("Hello World Window On Disappear")
}
}
.windowStyle(.plain)
Run the demo and open either immersive space, then tap the close X button below the Hello World window. And no onDisappear event called.