There is a bug when scrolling through the Swift UI List in version iOS 15.2.

  1. Run the above code in iOS 15.2 version.
  2. Quickly scroll through the list item.
  3. The top navigation area overlaps with the Section title area.
  4. There is no improvement in overlapping or narrowing the gap with the navigation title.

example code :

import SwiftUI

struct ContentView: View {
    var body: some View {
        NavigationView {
            List {
                Section("Section") {
                    ForEach(0..<1000) { i in
                        Text("\(i)")
                    }
                }
            }
            .navigationBarTitleDisplayMode(.large)
            .navigationTitle(Text("Navi"))
            
        }
    }
}

Will this be solved in the next version?

There is a bug when scrolling through the Swift UI List in version iOS 15.2.
 
 
Q