From d404a301189beb5d9ded5bd66bd1fa35db655ef6 Mon Sep 17 00:00:00 2001 From: Arham Mahajan <89351952+arhammahajan@users.noreply.github.com> Date: Sun, 11 Oct 2026 08:34:36 +0530 Subject: [PATCH] fix(mobile): restore QR scanning in iPad pairing sheet (#16019) --- apps/mobile/src/Stack.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/mobile/src/Stack.tsx b/apps/mobile/src/Stack.tsx index c089945ccc8f5ab1f2bd20b421fead06cc9bec9d..4e3c53268f2427a209f51258ccc650247d098ddc 100644 --- a/apps/mobile/src/Stack.tsx +++ b/apps/mobile/src/Stack.tsx @@ -905,6 +905,10 @@ const RootStackConfig = createWorkspaceStackNavigator({ screen: ConnectionsNewRouteScreen, linking: "connections/new", options: { + // Keep the iOS header visible from the first render so the sheet's + // native header stack mounts without remounting the pairing form. + ...(Platform.OS === "ios" ? SHEET_GLASS_HEADER_OPTIONS : undefined), + title: "Add Environment", ...FORM_SHEET_PRESENTATION_OPTIONS, sheetAllowedDetents: [0.55, 0.7], sheetGrabberVisible: true, -- 2.54.0