Issue with NavigationView, Form, List

Hi,


I have the issue, when navigating from a Form to a List (see sample code below) the List "jumps" once it appeared. Has anybody else encountered this and maybe a solution/workaround? Or is something wrong with the code?


If I remove Text("Other"), it does not jump anymore, but then again I need more than one element in the Form ;-).


Cheers, Michael


import SwiftUI

struct ContentView: View {
  var body: some View {
    NavigationView {
      Form {
        Text("Other")
        NavigationLink(destination: NextView()) {
          Text("to Next View")
        }
        .navigationBarTitle("Here")
      }
    }
  }
}

struct ContentView_Previews: PreviewProvider {
  static var previews: some View {
    ContentView()
  }
}

// MARK: - NextView -

struct NextView: View {
  var body: some View {
    List {
      Text("A")
      Text("B")
      Text("C")
    }
    .navigationBarTitle("There")
  }
}

Hi,


I did a little bit further testing with different simulators and on device:

Simulator:

iPhone 11 Pro -> it "jumps"

iPhone 11 Pro Max -> everything is fine

iPhone 11 -> everything is fine

Device:

iPhone 11 -> it "jumps".


Hmm, strange.


Cheers, Michael

Issue with NavigationView, Form, List
 
 
Q