authorgravatar for me@pixp.ccAlex <me@pixp.cc> 2026-10-11 11:33:25-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-10-11 11:33:25-07:00
logb147dc99e31da173f0bbe2f25ced0f5cb5b2092b
tree179d62248862e53e31e04b643742a5c3f5ce274a
parent74f9df3abfb62b3a977390f01321b93a63c29cc5
signature Signed by PGP key B5690EEEBB952194

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


2 files changed, 12 insertions(+), 2 deletions(-)

apps/mobile/src/features/home/HomeRouteScreen.tsx+9-1
...@@ -150,7 +150,15 @@ export function HomeRouteScreen() {...@@ -150,7 +150,15 @@ export function HomeRouteScreen() {
150 options={150 options={
151 Platform.OS === "android"151 Platform.OS === "android"
152 ? { headerShown: false }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 }
154 }162 }
155 />163 />
156 {Platform.OS === "ios" ? (164 {Platform.OS === "ios" ? (
apps/mobile/src/features/layout/AdaptiveWorkspaceLayout.tsx+3-1
...@@ -495,7 +495,9 @@ function AdaptiveWorkspaceLayoutContent(...@@ -495,7 +495,9 @@ function AdaptiveWorkspaceLayoutContent(
495 renderedSidebarWidth,495 renderedSidebarWidth,
496 ]);496 ]);
497 const sidebarAnimatedStyle = useAnimatedStyle(() => ({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),
499 width: renderedSidebarWidth.value,501 width: renderedSidebarWidth.value,
500 }));502 }));
501503