From 9c1d73ffcf7a6b8082283fb398a93f7b301a08ab Mon Sep 17 00:00:00 2001 From: Omar Basem Date: Fri, 9 Jun 2023 18:47:52 +0400 Subject: [PATCH] fix: top bar ios (#16234) * fix: top bar overlapped by composer --- src/status_im2/contexts/chat/composer/view.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/status_im2/contexts/chat/composer/view.cljs b/src/status_im2/contexts/chat/composer/view.cljs index e7449afce9..38880ce3a1 100644 --- a/src/status_im2/contexts/chat/composer/view.cljs +++ b/src/status_im2/contexts/chat/composer/view.cljs @@ -4,6 +4,7 @@ [react-native.core :as rn] [react-native.gesture :as gesture] [react-native.hooks :as hooks] + [react-native.platform :as platform] [react-native.reanimated :as reanimated] [reagent.core :as reagent] [utils.i18n :as i18n] @@ -131,7 +132,7 @@ :background-y background-y} props (utils/init-props) state (utils/init-state)] - [rn/view + [rn/view (when platform/ios? {:style {:z-index 1}}) [reanimated/view {:style (style/background opacity background-y window-height)}] [sub-view/blur-view blur-height (:focused? state)] [:f> sheet-component extra-params props state]]))