fix navigating to chat via the 'Jump to' button breaks composer (#16604)
This commit is contained in:
parent
2b0ea01710
commit
b531dadf96
|
@ -373,10 +373,11 @@
|
||||||
(- (reanimated/get-shared-value scroll-y)
|
(- (reanimated/get-shared-value scroll-y)
|
||||||
keyboard-height))))
|
keyboard-height))))
|
||||||
[keyboard-shown 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
|
[rn/keyboard-avoiding-view
|
||||||
{:style (style/keyboard-avoiding-container insets)
|
{:style (style/keyboard-avoiding-container insets)
|
||||||
:keyboard-vertical-offset (- (:bottom insets))
|
:keyboard-vertical-offset (- (:bottom insets))}
|
||||||
:behavior :height}
|
|
||||||
|
|
||||||
(when header-comp
|
(when header-comp
|
||||||
[header-comp
|
[header-comp
|
||||||
|
|
Loading…
Reference in New Issue