mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 10:42:53 +00:00
fix(ios)_: Blank screen on pages with input focused when navigating back (#21100)
This commit fixes the blank screen shown on pages with inputs focused when navigating back to that screen. Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
parent
16ab8f9357
commit
9d6b8609be
@ -61,7 +61,7 @@
|
|||||||
(defn view
|
(defn view
|
||||||
[{:keys [header footer customization-color footer-container-padding header-container-style
|
[{:keys [header footer customization-color footer-container-padding header-container-style
|
||||||
content-container-style gradient-cover? keyboard-should-persist-taps shell-overlay?
|
content-container-style gradient-cover? keyboard-should-persist-taps shell-overlay?
|
||||||
blur-options content-avoid-keyboard?]
|
blur-options content-avoid-keyboard? automatically-adjust-keyboard-insets]
|
||||||
:or {footer-container-padding (safe-area/get-top)}}
|
:or {footer-container-padding (safe-area/get-top)}}
|
||||||
& children]
|
& children]
|
||||||
(reagent/with-let [scroll-view-ref (atom nil)
|
(reagent/with-let [scroll-view-ref (atom nil)
|
||||||
@ -123,7 +123,7 @@
|
|||||||
:scroll-event-throttle 64
|
:scroll-event-throttle 64
|
||||||
:content-container-style {:flex-grow 1}
|
:content-container-style {:flex-grow 1}
|
||||||
:always-bounce-vertical @keyboard-did-show?
|
:always-bounce-vertical @keyboard-did-show?
|
||||||
:automatically-adjust-keyboard-insets true
|
:automatically-adjust-keyboard-insets automatically-adjust-keyboard-insets
|
||||||
:shows-vertical-scroll-indicator false
|
:shows-vertical-scroll-indicator false
|
||||||
:keyboard-should-persist-taps keyboard-should-persist-taps}
|
:keyboard-should-persist-taps keyboard-should-persist-taps}
|
||||||
(into [rn/view
|
(into [rn/view
|
||||||
|
@ -193,6 +193,7 @@
|
|||||||
{:header [page-nav]
|
{:header [page-nav]
|
||||||
:keyboard-should-persist-taps :handled
|
:keyboard-should-persist-taps :handled
|
||||||
:content-avoid-keyboard? true
|
:content-avoid-keyboard? true
|
||||||
|
:automatically-adjust-keyboard-insets true
|
||||||
:blur-options
|
:blur-options
|
||||||
{:blur-amount 34
|
{:blur-amount 34
|
||||||
:blur-radius 20
|
:blur-radius 20
|
||||||
|
Loading…
x
Reference in New Issue
Block a user