From ae191c5aa6086e3f8445b47387e9d9b5aab73d4e Mon Sep 17 00:00:00 2001 From: lawvs <18554747+lawvs@users.noreply.github.com> Date: Tue, 29 Apr 2025 19:21:43 +0800 Subject: [PATCH] fix: adjust z-index values for dialog --- apps/mobile/src/components/layouts/tabbar/Tabbar.tsx | 2 +- apps/mobile/src/lib/dialog.tsx | 2 +- apps/mobile/src/lib/navigation/WrappedScreenItem.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/mobile/src/components/layouts/tabbar/Tabbar.tsx b/apps/mobile/src/components/layouts/tabbar/Tabbar.tsx index f3b21c67a..61a868204 100644 --- a/apps/mobile/src/components/layouts/tabbar/Tabbar.tsx +++ b/apps/mobile/src/components/layouts/tabbar/Tabbar.tsx @@ -68,7 +68,7 @@ export const Tabbar: FC<{ 0 ? "auto" : "none"} accessibilityRole="tablist" - className="absolute inset-x-0 bottom-0 z-10" + className="absolute inset-x-0 bottom-0" style={{ paddingBottom: Math.max(insets.bottom, 8), transform: [{ translateY }], diff --git a/apps/mobile/src/lib/dialog.tsx b/apps/mobile/src/lib/dialog.tsx index c54160866..ac15701e2 100644 --- a/apps/mobile/src/lib/dialog.tsx +++ b/apps/mobile/src/lib/dialog.tsx @@ -199,7 +199,7 @@ class DialogStatic { diff --git a/apps/mobile/src/lib/navigation/WrappedScreenItem.tsx b/apps/mobile/src/lib/navigation/WrappedScreenItem.tsx index 155d6249c..44fe37f9e 100644 --- a/apps/mobile/src/lib/navigation/WrappedScreenItem.tsx +++ b/apps/mobile/src/lib/navigation/WrappedScreenItem.tsx @@ -170,7 +170,7 @@ const Header = () => { if (!Slot.header) { return null } - return {Slot.header} + return {Slot.header} } WrappedScreenItem.displayName = "WrappedScreenItem"