From b531dadf96e767e77360f83523f5ea2595e13a5a Mon Sep 17 00:00:00 2001 From: Parvesh Monu Date: Fri, 14 Jul 2023 13:45:12 +0530 Subject: [PATCH] fix navigating to chat via the 'Jump to' button breaks composer (#16604) --- src/status_im2/contexts/chat/messages/list/view.cljs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/status_im2/contexts/chat/messages/list/view.cljs b/src/status_im2/contexts/chat/messages/list/view.cljs index 703439bc6b..2a63c83c70 100644 --- a/src/status_im2/contexts/chat/messages/list/view.cljs +++ b/src/status_im2/contexts/chat/messages/list/view.cljs @@ -373,10 +373,11 @@ (- (reanimated/get-shared-value scroll-y) keyboard-height)))) [keyboard-shown keyboard-height]) + ;; Note - Don't pass `behavior :height` to keyboard avoiding view, + ;; It breaks composer - https://github.com/status-im/status-mobile/issues/16595 [rn/keyboard-avoiding-view {:style (style/keyboard-avoiding-container insets) - :keyboard-vertical-offset (- (:bottom insets)) - :behavior :height} + :keyboard-vertical-offset (- (:bottom insets))} (when header-comp [header-comp