@devries-cameron20 / t3code-1 / commits / 4fef307dd0
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(mobile): keep the Duo's Home and pull request headers fixed (#24295)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Oct 23, 2026 at 18:49 UTC 4fef307dd0a0e9eb1a7bd610ed390b6764295a65
1 file changed +8 -2
apps/mobile/src/Stack.tsx
+8 -2
@@ -148,7 +148,7 @@ const HEADER_SCROLL_EDGE_EFFECTS = nativeHeaderScrollEdgeEffects(Platform.OS, Pl
148
149 type AppScreenOptions = NativeStackNavigationOptions & {
150 readonly unstable_navigationItemStyle?: "editor";
151 - readonly unstable_headerMinimizationBehavior?: "onScrollUp";
151 + readonly unstable_headerMinimizationBehavior?: "onScrollUp" | "never";
152 };
153
154 const GLASS_HEADER_OPTIONS: AppScreenOptions = {
@@ -178,6 +178,10 @@ const THREAD_HEADER_OPTIONS: AppScreenOptions = {
178 unstable_headerMinimizationBehavior: "onScrollUp",
179 };
180
181 +// The Duo minimizes headers on scroll down by default. Home and the pull request lists
182 +// stutter against it on hardware (not reproducible in the simulator), so they keep theirs.
183 +const FIXED_DUO_HEADER: AppScreenOptions = { unstable_headerMinimizationBehavior: "never" };
184 +
185 const SOLID_HEADER_OPTIONS: AppScreenOptions = {
186 headerBackButtonDisplayMode: "minimal",
187 headerBackTitle: "",
@@ -649,6 +653,7 @@ const RootStackConfig = createWorkspaceStackNavigator({
653 linking: "",
654 options: {
655 ...GLASS_HEADER_OPTIONS,
656 + ...FIXED_DUO_HEADER,
657 contentStyle: { backgroundColor: "transparent" },
658 headerBackVisible: false,
659 ...getCompactBrandHeaderOptions(),
@@ -660,7 +665,7 @@ const RootStackConfig = createWorkspaceStackNavigator({
665 path: "pull-requests/:environmentId/:projectId/:repository/:number",
666 parse: { number: Number },
667 },
663 - options: DETAIL_HEADER_OPTIONS,
668 + options: { ...DETAIL_HEADER_OPTIONS, ...FIXED_DUO_HEADER },
669 }),
670 PullRequestGuideStop: createNativeStackScreen({
671 screen: PullRequestGuideStopScreen,
@@ -684,6 +689,7 @@ const RootStackConfig = createWorkspaceStackNavigator({
689 screen: PullRequestReviewersScreen,
690 options: {
691 ...DETAIL_HEADER_OPTIONS,
692 + ...FIXED_DUO_HEADER,
693 ...HORIZONTAL_FORM_SHEET_OPTIONS,
694 sheetAllowedDetents: formSheetDetents(0.75),
695 sheetGrabberVisible: true,