fix: close keyboard when start scrolling on chat (#16339)
Signed-off-by: Brian Sztamfater <brian@status.im>
This commit is contained in:
parent
9ec4f91c9e
commit
be245d5612
|
@ -291,7 +291,8 @@
|
||||||
:content-container-style {:padding-bottom style/messages-list-bottom-offset}
|
:content-container-style {:padding-bottom style/messages-list-bottom-offset}
|
||||||
:scroll-indicator-insets {:top (- composer.constants/composer-default-height 16)}
|
:scroll-indicator-insets {:top (- composer.constants/composer-default-height 16)}
|
||||||
:keyboard-dismiss-mode :interactive
|
:keyboard-dismiss-mode :interactive
|
||||||
:keyboard-should-persist-taps :handled
|
:keyboard-should-persist-taps :always
|
||||||
|
:on-scroll-begin-drag rn/dismiss-keyboard!
|
||||||
:on-momentum-scroll-begin state/start-scrolling
|
:on-momentum-scroll-begin state/start-scrolling
|
||||||
:on-momentum-scroll-end state/stop-scrolling
|
:on-momentum-scroll-end state/stop-scrolling
|
||||||
:scroll-event-throttle 16
|
:scroll-event-throttle 16
|
||||||
|
|
Loading…
Reference in New Issue