I have a simple UI with an input beneath a list. You can see in this slowed down screen recording that the animation is not in sync.
Shouldn't this be out of the box? Is this a SwiftUI bug?
@State private var userInput: String = ""
var body: some View {
VStack {
List(1..<101) { index in
Text("Row \(index)")
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
TextField("Enter something", text: $userInput)
.padding()
.background(Color.orange)
.padding()
}
}
}```
also posts here: https://stackoverflow.com/questions/78190150/keyboard-animation-not-in-sync-with-textfield-and-list-chat-ui