withAnimation {
offset = contentHeight
isFocused = false // binding to textfield
} completion: {
isPresented = false
}
I just find out this line causes the case, maybe bacause the keyboard animation interupt this animation.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: