iOS 26 RC, View becomes invisible when it was swiped back from a zoom navigation transition
a simple reproduction could be
import SwiftUI
struct ContentView: View {
@State private var paths = [String]()
@Namespace var ns
var body: some View {
NavigationStack(path: $paths) {
ScrollView {
Button("Push") {
paths.append("a")
}
.matchedTransitionSource(id: "a", in: ns)
}
.navigationDestination(for: String.self, destination: { id in
Text(id)
.navigationTransition(.zoom(sourceID: "a", in: ns))
})
}
}
}
#Preview {
ContentView()
}
the push button just remains invisible after you come back from the second level view