mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-12 17:54:32 +00:00
[#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 <julien.eluard@gmail.com>
This commit is contained in:
parent
502e8b9908
commit
32d3b16f83
@ -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)]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user