SwiftUI bug concerning Form or List in NavigationView

This question is inspired by this stackoverflow post :

https://stackoverflow.com/questions/59895935/swiftui-form-and-stacknavigationviewstyle-run-berserk

At present (Xcode 11.7) there seems to be a bug in Form, making a new copy of the view with every orientation change of the device. I can reproduce it on a iPhone 11 emulator with iOS 13.7.

Sample code:

Code Block
import SwiftUI
struct ContentView: View {
var body: some View {
Form{
Text("Text")
}
}
}

Visual debugger at beginning, rotate left and then rotate right, shows an additional view added to the view stack with each new movement.

Form automatically adopts the GroupedListStyle and it seems that it’s actually there the bug is. Because a List with GroupedListStyle shows the same behavior in the visual debugger.

Code Block
import SwiftUI
struct ContentView: View {
var body: some View {
List{
Text("Text")
}.listStyle(GroupedListStyle())
}
}


So, any workaround or fix informations please?
SwiftUI bug concerning Form or List in NavigationView
 
 
Q