Skip to content

Commit

Permalink
fix(Android): Always set zIndex to undefined for InnerScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianryt committed Sep 25, 2024
1 parent 98d6ca6 commit 5150526
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export const InnerScreen = React.forwardRef<View, ScreenProps>(
isNativeStack,
gestureResponseDistance,
onGestureCancel,
style,
...props
} = rest;

Expand Down Expand Up @@ -125,6 +126,7 @@ export const InnerScreen = React.forwardRef<View, ScreenProps>(
<DelayedFreeze freeze={freezeOnBlur && activityState === 0}>
<AnimatedScreen
{...props}
style={[style, { zIndex: undefined }]}
activityState={activityState}
sheetAllowedDetents={sheetAllowedDetents}
sheetLargestUndimmedDetent={sheetLargestUndimmedDetent}
Expand Down

0 comments on commit 5150526

Please sign in to comment.