Comment on SwiftUI NavigationView pops back when updating observableObject .navigationViewStyle(.stack) is deprecated. Changing NavigationView { content } to NavigationStack { content } did the trick for me. UI Frameworks SwiftUI Dec ’23