fix: adjust z-index values for dialog
This commit is contained in:
@@ -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 }],
|
||||
|
||||
@@ -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}
|
||||
>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user