From 055c57c2081e43782dab1e2de1027227ebfb78e4 Mon Sep 17 00:00:00 2001 From: cheykrym Date: Wed, 22 Oct 2025 05:59:34 +0300 Subject: [PATCH] disable keyboard --- yobble/Views/Chat/PrivateChatView.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/yobble/Views/Chat/PrivateChatView.swift b/yobble/Views/Chat/PrivateChatView.swift index 441f998..fe87025 100644 --- a/yobble/Views/Chat/PrivateChatView.swift +++ b/yobble/Views/Chat/PrivateChatView.swift @@ -88,6 +88,12 @@ struct PrivateChatView: View { } .padding(.vertical, 12) } + .simultaneousGesture( + DragGesture().onChanged { value in + guard value.translation.height > 0 else { return } + isComposerFocused = false + } + ) .refreshable { viewModel.refresh() }