@devries-cameron20 / t3code Mirror · read-only / commits / 5534467f2b
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 23:30 UTC

fix(mobile): browser address bar and Take control no longer hide under the header (#34258)

eimexdev committed Nov 11, 2026 at 09:08 UTC 5534467f2bd9bd0c946931d3dc43cad0e47c08ac
1 file changed +6 -1
apps/mobile/src/features/browser/BrowserPreviewRouteScreen.tsx
+6 -1
@@ -10,6 +10,7 @@ import { Platform, TextInput, View } from "react-native";
10 import { useSafeAreaInsets } from "react-native-safe-area-context";
11
12 import { ControlPill } from "../../components/ui/ControlPill";
13 +import { useContentTopInset } from "../../components/ui/useBarInset";
14 import { useAppForeground } from "../../lib/appState";
15
16 import { useThreadServerBrowserTabs } from "../../state/preview";
@@ -56,6 +57,7 @@ function BrowserPreviewScreen({
57 readonly onClose: () => void;
58 }) {
59 const insets = useSafeAreaInsets();
60 + const contentTopInset = useContentTopInset();
61 const { themeVariables } = useAppearancePreferences();
62 const prepared = usePreparedConnection(environmentId);
63 const httpBaseUrl = Option.isSome(prepared) ? prepared.value.httpBaseUrl : null;
@@ -90,7 +92,10 @@ function BrowserPreviewScreen({
92 const live = (focused && foreground) || pictureInPicture.active;
93
94 return (
93 - <View className="flex-1 bg-sheet" style={{ paddingBottom: insets.bottom }}>
95 + <View
96 + className="flex-1 bg-sheet"
97 + style={{ paddingTop: contentTopInset, paddingBottom: insets.bottom }}
98 + >
99 <SheetHeader
100 title={tab ? browserTabTitle(tab) : "Browser"}
101 onClose={onClose}