SwiftUI TabView causing navigation issues on 8.1

Number:rdar://FB9767836 Date Originated:18 November 2021
Status:Open Resolved:No
Product:SwiftUI Product Version:8.1
Classification: Reproducible:Yes
Using the SwiftUI Lifecycle with a TabView causes navigation issues.

The example project attached shows you can swipe between tabs containing ContentView's, but when you click on the NavigationLink within the ContentView, the EditView opens then immediately navigates back.

With WatchOS 8.0 on both physical devices and the simulator this does not happen, the EditView remains active until you navigate back which is the expected behavior.


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!