Open fceldeiro opened 1 month ago
@fceldeiro thank you for reporting. We'll take another look on the swipe down. Could you please confirm if tap to dismiss works now in this particular case. Thank you!
Hello @laevandus , no. It doesn't work (either case) retested again in version 4.62.0
What did you do?
Issue reopened (https://github.com/GetStream/stream-chat-swiftui/issues/481) since the same problem remains.
1) Present a ChatChannelView without any messages and a custom empty view with the keyboard up. 2) Send a message 3) Trying to dismiss the keyboard swiping down doesn't work.
What did you expect to happen?
Swipe down to dismiss the keyboard should work
What happened instead?
Nothing It seems that the flag @State private var keyboardShown = false in MessageListView when switching from empty remains false which doesn't trigger the dismiss logic.
GetStream Environment
GetStream Chat version: 4.59.0 GetStream Chat frameworks: StreamChat, StreamChatSwiftUI iOS version: 17.5 Swift version: 5+ Xcode version: 15.4 Device: iPhone 15 Pro
Additional context