From bda9a67abc17f0ab9646e27eef4dffb8fb323e27 Mon Sep 17 00:00:00 2001 From: Tony Date: Thu, 21 Dec 2023 13:37:53 +0900 Subject: [PATCH] WIP: z-index problem poc --- extensions/plugin-basic-ui/src/components/AppScreen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/plugin-basic-ui/src/components/AppScreen.tsx b/extensions/plugin-basic-ui/src/components/AppScreen.tsx index 6940bf12..201508fd 100644 --- a/extensions/plugin-basic-ui/src/components/AppScreen.tsx +++ b/extensions/plugin-basic-ui/src/components/AppScreen.tsx @@ -72,7 +72,7 @@ const AppScreen: React.FC = ({ const hasAppBar = !!appBar; - const zIndexBase = (activity?.zIndex ?? 0) * 5; + const zIndexBase = (activity?.isTop ? 1 : 0) * 5; let zIndexDim: number; let zIndexPaper: number;