fix navigating to chat via the 'Jump to' button breaks composer (#16604)

This commit is contained in:
Parvesh Monu 2023-07-14 13:45:12 +05:30 committed by GitHub
parent 2b0ea01710
commit b531dadf96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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