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:
Mohamed Javid 2024-08-28 17:28:45 +05:30 committed by GitHub
parent 16ab8f9357
commit 9d6b8609be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -61,7 +61,7 @@
(defn view
[{:keys [header footer customization-color footer-container-padding header-container-style
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)}}
& children]
(reagent/with-let [scroll-view-ref (atom nil)
@ -123,7 +123,7 @@
:scroll-event-throttle 64
:content-container-style {:flex-grow 1}
:always-bounce-vertical @keyboard-did-show?
:automatically-adjust-keyboard-insets true
:automatically-adjust-keyboard-insets automatically-adjust-keyboard-insets
:shows-vertical-scroll-indicator false
:keyboard-should-persist-taps keyboard-should-persist-taps}
(into [rn/view

View File

@ -193,6 +193,7 @@
{:header [page-nav]
:keyboard-should-persist-taps :handled
:content-avoid-keyboard? true
:automatically-adjust-keyboard-insets true
:blur-options
{:blur-amount 34
:blur-radius 20