The best way to control Claude Code, Codex and more from any computer or phone
fix(mobile): search stays open after going back from a thread (#24748)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Theo Browne committed
Oct 25, 2026 at 02:11 UTC
5398be0d44ef06fb1646d8ad54b81b5613a03193
1 file changed
+4
-10
apps/mobile/src/features/workspace/WorkspaceToolbar.ios.tsx
+4
-10
@@ -101,20 +101,14 @@ export function WorkspaceToolbar(props: {
101
tab.searchMode !== "resting"
102
) {
103
searchRef.current?.setText(tab.query);
104
- if (duoSearch) {
104
+ // Integrated search collapses to its button when its screen reappears,
105
+ // which would hide the query that still filters the list.
106
+ if (NATIVE_LIQUID_GLASS_SUPPORTED) {
107
searchRef.current?.setActive(true);
108
if (tab.searchMode === "active") searchRef.current?.focus();
109
}
110
}
109
- }, [
110
- searchHostVisible,
111
- duoSearch,
112
- isTabActive,
113
- selectedTab,
114
- tab.searchMode,
115
- tab.query,
116
- searchVisible,
117
- ]);
111
+ }, [searchHostVisible, isTabActive, selectedTab, tab.searchMode, tab.query, searchVisible]);
112
useFocusEffect(
113
useCallback(() => {
114
const frame = requestAnimationFrame(restoreSearch);