textfield refreshes the list

Hey guys, I have multiple textfields in a List. Every time I change one letter, the list immediately refreshes and causes the textfield keyboard to dismiss.

I tried to use onCommit (on clicking Done on the keyboard), but if the user edits multiple textfields, only the last textfield would listen to the onCommit changes.

Is this a swiftUI List bug? Thank you in advance

Could you show the code (complete if possible), so we can test ?

Such code works OK:

struct RowModel: Identifiable {
    let id = UUID()
    var name: String
}
struct ContentView: View {
    @State var rows: [RowModel] = [
        RowModel(name: "Orange"),
        RowModel(name: "Apple"),
        RowModel(name: "Orange"),
    ] 

    var body: some View {
            //        NavigationView {  // Also works in NavigationView
            List {
                ForEach($rows) { $row in
                    TextField("Fruit", text: $row.name)
                }
            }
            //            .navigationTitle("Fruit List")       // Add these lines for navigation
            //        }
            //        .navigationViewStyle(.stack)
    }
}
textfield refreshes the list
 
 
Q