@devries-cameron20 / t3code-1 / commits / c83342d1ec
Fork 0

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

fix(mobile): Settings pages no longer flicker when switching beside the list (#24749)

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

Julius Marminge committed Oct 24, 2026 at 22:48 UTC c83342d1eccd3eb2b87a36b1814db78be921849c
1 file changed +12 -3
apps/mobile/src/features/layout/createWorkspaceStackNavigator.ios.tsx
+12 -3
@@ -19,7 +19,16 @@ import {
19 type NativeStackNavigatorProps,
20 type NativeStackTypeBag,
21 } from "@react-navigation/native-stack";
22 -import { use, useCallback, useEffect, useMemo, useRef, useState, type ComponentProps } from "react";
22 +import {
23 + Fragment,
24 + use,
25 + useCallback,
26 + useEffect,
27 + useMemo,
28 + useRef,
29 + useState,
30 + type ComponentProps,
31 +} from "react";
32 import { View } from "react-native";
33 import { Split, type SplitHostCommands } from "react-native-screens";
34 import { EnvironmentId, ThreadId } from "@t3tools/contracts";
@@ -158,14 +167,14 @@ function ColumnScreen(props: {
167 }
168 />
169 <ColumnContent
161 - key={key}
170 primary={props.primary}
171 insetHorizontally={
172 (options as AppNativeStackNavigationOptions).nativeContentInsetHorizontally
173 }
174 >
175 <NativePrimaryColumnContext value={primaryColumn}>
168 - {descriptor.render()}
176 + {/* The Settings slot swaps pages here; its column keeps its measured insets. */}
177 + <Fragment key={key}>{descriptor.render()}</Fragment>
178 </NativePrimaryColumnContext>
179 </ColumnContent>
180 </NavigationRouteContext>