I set up a ScrollView like so:
ScrollView(.vertical) {
// ...
}
.scrollDismissesKeyboard(.interactively)
.safeAreaInset(edge: .bottom, spacing: 0) {
TextInputCellView(with: Color(hex: 0xf5f9fc)) { value in
vm.send(text: value)
}
}
The newly added scrollDissmissesKeyboard works, does however look and feel a little weird. Is this a bug or am i doing anything wrong ?

This is a SwiftUI bug: https://github.com/feedback-assistant/reports/issues/437
Please try my solution https://github.com/frogcjn/BottomInputBarSwiftUI
keyboardDismissPaddingThis solution uses keyboard layout guide to track the keyboard location, and add a BottomBar SwiftUI View to the layout guide.
It also changes keyboardDismissPadding accurately for interactively dismissing the keyboard.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With