diff --git a/apps/mobile/src/app/_layout.tsx b/apps/mobile/src/app/_layout.tsx index 968be6c14a..045489e389 100644 --- a/apps/mobile/src/app/_layout.tsx +++ b/apps/mobile/src/app/_layout.tsx @@ -99,6 +99,9 @@ function AppNavigatorContent() { contentStyle: { backgroundColor: "transparent" }, headerShown: true, headerTransparent: true, + // Recent iOS betas no longer draw an implicit blur behind + // transparent navigation bars, so request one explicitly. + headerBlurEffect: "systemChromeMaterial", headerShadowVisible: false, }} /> @@ -115,6 +118,7 @@ function AppNavigatorContent() { animation: "slide_from_right", contentStyle: { backgroundColor: "transparent" }, gestureEnabled: true, + fullScreenGestureEnabled: true, headerShown: false, }} /> diff --git a/apps/mobile/src/app/threads/[environmentId]/[threadId]/_layout.tsx b/apps/mobile/src/app/threads/[environmentId]/[threadId]/_layout.tsx index 92e90920e2..1e36909c32 100644 --- a/apps/mobile/src/app/threads/[environmentId]/[threadId]/_layout.tsx +++ b/apps/mobile/src/app/threads/[environmentId]/[threadId]/_layout.tsx @@ -16,6 +16,9 @@ export default function ThreadLayout() { contentStyle: { backgroundColor: "transparent" }, headerShown: true, headerTransparent: true, + // Recent iOS betas no longer draw an implicit blur behind + // transparent navigation bars, so request one explicitly. + headerBlurEffect: "systemChromeMaterial", headerShadowVisible: false, headerTitle: "", }} @@ -47,6 +50,7 @@ export default function ThreadLayout() { options={{ animation: "slide_from_right", contentStyle: sheetStyle, + fullScreenGestureEnabled: true, headerBackButtonDisplayMode: "minimal", headerShown: true, headerTitle: "Files changed", @@ -60,6 +64,7 @@ export default function ThreadLayout() { options={{ animation: "slide_from_right", contentStyle: sheetStyle, + fullScreenGestureEnabled: true, headerBackButtonDisplayMode: "minimal", headerShown: true, headerTitle: "Files", @@ -73,6 +78,7 @@ export default function ThreadLayout() { options={{ animation: "slide_from_right", contentStyle: sheetStyle, + fullScreenGestureEnabled: true, headerBackButtonDisplayMode: "minimal", headerShown: true, headerTitle: "File", diff --git a/apps/mobile/src/features/home/HomeHeader.tsx b/apps/mobile/src/features/home/HomeHeader.tsx index 9757d5fbf9..0fab91c237 100644 --- a/apps/mobile/src/features/home/HomeHeader.tsx +++ b/apps/mobile/src/features/home/HomeHeader.tsx @@ -88,6 +88,9 @@ export function HomeHeader(props: { headerShown: true, headerTransparent: true, headerStyle: { backgroundColor: "transparent" }, + // Recent iOS betas no longer draw an implicit blur behind + // transparent navigation bars, so request one explicitly. + headerBlurEffect: "systemChromeMaterial", headerShadowVisible: false, headerTintColor: iconColor, headerTitle: "", diff --git a/apps/mobile/src/features/threads/ThreadDetailScreen.tsx b/apps/mobile/src/features/threads/ThreadDetailScreen.tsx index 62d1bce115..397ca28177 100644 --- a/apps/mobile/src/features/threads/ThreadDetailScreen.tsx +++ b/apps/mobile/src/features/threads/ThreadDetailScreen.tsx @@ -253,7 +253,11 @@ export const ThreadDetailScreen = memo(function ThreadDetailScreen(props: Thread () => Gesture.Pan() .enabled(!isSplitLayout) - .hitSlop({ left: 0, width: 40 }) + // Confine the drawer pan to the top-left corner where it completes + // (see the `event.y` check below). Covering the full left edge stole + // the touch from the native swipe-back gesture, leaving back + // navigation dead below the header. + .hitSlop({ left: 0, width: 40, top: 0, height: drawerGestureThreshold }) .activeOffsetX([10, 999]) .failOffsetY([-24, 24]) .onEnd((event) => { diff --git a/apps/mobile/src/features/threads/ThreadRouteScreen.tsx b/apps/mobile/src/features/threads/ThreadRouteScreen.tsx index f8c916974e..390fa9bef3 100644 --- a/apps/mobile/src/features/threads/ThreadRouteScreen.tsx +++ b/apps/mobile/src/features/threads/ThreadRouteScreen.tsx @@ -326,6 +326,9 @@ export function ThreadRouteScreen() { headerShown: true, headerTransparent: true, headerStyle: { backgroundColor: "transparent" }, + // Recent iOS betas no longer draw an implicit blur behind + // transparent navigation bars, so request one explicitly. + headerBlurEffect: "systemChromeMaterial", headerShadowVisible: false, headerTintColor: iconColor, headerBackTitle: "",