I have a simple use case where a screen pushes another screen using the NavigationLink that is part of List element populated by a ForEach. The pushed screen is popped just after being pushed. This is working just fine on iOS 14.x, but not on iOS 15. Dose anyone know any workaround for this issue? Or any other solution how to fix this?
Here is a sample code:
List { ForEach(dataToPopulateListFrom, id: \.id) { data in NavigationLink(destination: SomeView() .environmentObject(someEnviorementObject) .navigationBarTitle("", displayMode: .inline)) { SomeOtherView() } } }