fix: adjust z-index values for dialog

This commit is contained in:
lawvs 2025-04-29 19:21:43 +08:00
parent d9e6c7fb67
commit ae191c5aa6
3 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ export const Tabbar: FC<{
<Animated.View
pointerEvents={tabScreens.length > 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 }],

View File

@ -199,7 +199,7 @@ class DialogStatic {
<FullWindowOverlay>
<Overlay onPress={handleClose} />
<Animated.View
className="bg-secondary-system-background absolute inset-x-0 -top-8 pt-8"
className="bg-secondary-system-background absolute inset-x-0 -top-8 z-10 pt-8"
entering={entering}
exiting={exiting}
>

View File

@ -170,7 +170,7 @@ const Header = () => {
if (!Slot.header) {
return null
}
return <View className="absolute inset-x-0 top-0 z-[99]">{Slot.header}</View>
return <View className="absolute inset-x-0 top-0 z-10">{Slot.header}</View>
}
WrappedScreenItem.displayName = "WrappedScreenItem"