SwiftUI has built in keyboard avoidance (unlike UIKit) which moves the view up when the keyboard is visible. As this avoidance is already implemented internally by our SDK it needs to be disabled in SwiftUI, otherwise the chat view is moved up too much.
This can be done by using this view modifier:
chatHandler.chatView
.ignoresSafeArea(.keyboard)
We will update the developer documentation to include this.