[#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…
Reference in New Issue