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

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

fix(mobile): preserve iPad search chrome across layout changes (#13667)

Alex committed Oct 11, 2026 at 11:33 UTC b147dc99e31da173f0bbe2f25ced0f5cb5b2092b
2 files changed +12 -2
apps/mobile/src/features/home/HomeRouteScreen.tsx
+9 -1
@@ -150,7 +150,15 @@ export function HomeRouteScreen() {
150 options={
151 Platform.OS === "android"
152 ? { headerShown: false }
153 - : { title: "", headerTitle: "", unstable_headerLeftItems: () => [] }
153 + : {
154 + title: "",
155 + headerTitle: "",
156 + unstable_headerLeftItems: () => [],
157 + // Options survive layout changes; search and settings now belong to the sidebar.
158 + headerSearchBarOptions: undefined,
159 + unstable_headerRightItems: () => [],
160 + unstable_headerToolbarItems: () => [],
161 + }
162 }
163 />
164 {Platform.OS === "ios" ? (
apps/mobile/src/features/layout/AdaptiveWorkspaceLayout.tsx
+3 -1
@@ -495,7 +495,9 @@ function AdaptiveWorkspaceLayoutContent(
495 renderedSidebarWidth,
496 ]);
497 const sidebarAnimatedStyle = useAnimatedStyle(() => ({
498 - opacity: Math.min(1, renderedSidebarWidth.value / 80),
498 + // Fading a UIKit glass ancestor can leave remounted header effects missing.
499 + // The clipped width already reveals and hides the iOS sidebar.
500 + opacity: Platform.OS === "ios" ? 1 : Math.min(1, renderedSidebarWidth.value / 80),
501 width: renderedSidebarWidth.value,
502 }));
503