Unexpected screen popping in NavigationView when passing a binded object to a bindig

Number:rdar://FB9771893 Date Originated:2021. Nov. 20.
Status:Open Resolved:
Product:SwiftUI Product Version:
Classification:Unexpected bahaviour Reproducible:Yes
I have multiple scenes in a NavigationView accessed with NavigationLins.

I have a struct with nested structs which correspond to the scenes.

At the root scene, I have a state struct, and the nested scenes have binding structs. When I’m three levels down in the navigation stack and I modify the data, the app unexpectedly jumps back to the previous scene. So if I have a TextField, then at each character press, the navigation stack jumps back, making the app unusable.

Device running the project: iPhone 11 Pro / iOS 15.1
Xcode Version 13.1 (13A1030d)
Swift: swift-driver version: 1.26.9 Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) Target: x86_64-apple-macosx12.0


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!