From 32d3b16f8326fea46171a057d9c5f4059d009353 Mon Sep 17 00:00:00 2001 From: Igor Mandrigin Date: Wed, 23 May 2018 18:27:04 +0200 Subject: [PATCH] [#4394] Use zIndex to move inactive tabs back. That ensures that no view from an inactive tab will interfere with the active one. Signed-off-by: Julien Eluard --- components/src/status_im/ui/components/react.cljs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/src/status_im/ui/components/react.cljs b/components/src/status_im/ui/components/react.cljs index 200c276a1a..01a313947a 100644 --- a/components/src/status_im/ui/components/react.cljs +++ b/components/src/status_im/ui/components/react.cljs @@ -192,9 +192,11 @@ (= views current-view)) style (if current-view? - {:flex 1} + {:flex 1 + :zIndex 0} {:opacity 0 - :flex 0}) + :flex 0 + :zIndex -1}) component' (if (fn? component) [component] component)]