The best way to control Claude Code, Codex and more from any computer or phone
fix(mobile): keep floating status within the composer width (#25671)
Alex committed
Oct 26, 2026 at 15:59 UTC
abf8f43f2a84f1655f2b2ca4dcd4b2c4d9e576f7
1 file changed
+33
-33
apps/mobile/src/features/threads/ThreadDetailScreen.tsx
+33
-33
@@ -1382,40 +1382,40 @@ function ThreadDetailBody(props: ThreadDetailScreenProps) {
1382
onLayout={handleComposerOverlayLayout}
1383
className="w-full"
1384
>
1385
- <FloatingWorkingControl
1386
- colorScheme={isDarkMode ? "dark" : "light"}
1387
- status={floatingStatus}
1388
- lift={floatingControlLift}
1389
- devicePreview={
1390
- devicePreviews.length > 0
1391
- ? { count: devicePreviews.length, onPress: openDevicePreview }
1392
- : null
1393
- }
1394
- browserPreview={
1395
- browserTabs.tabs.length > 0
1396
- ? { count: browserTabs.tabs.length, onPress: () => openBrowserPreview() }
1397
- : null
1398
- }
1399
- showScrollToEnd={showScrollToEndButton}
1400
- onScrollToEnd={handleScrollToEnd}
1401
- agents={agentsSegment}
1402
- onOpenAgents={() => {
1403
- Keyboard.dismiss();
1404
- navigation.navigate("ThreadAgents", {
1405
- environmentId: props.environmentId,
1406
- threadId: props.selectedThread.id,
1407
- });
1408
- }}
1409
- queuedCount={queuedCount}
1410
- onOpenQueue={() => {
1411
- Keyboard.dismiss();
1412
- navigation.navigate("ThreadQueue", {
1413
- environmentId: props.environmentId,
1414
- threadId: props.selectedThread.id,
1415
- });
1416
- }}
1417
- />
1385
<View className="w-full self-center" style={{ maxWidth: contentMaxWidth }}>
1386
+ <FloatingWorkingControl
1387
+ colorScheme={isDarkMode ? "dark" : "light"}
1388
+ status={floatingStatus}
1389
+ lift={floatingControlLift}
1390
+ devicePreview={
1391
+ devicePreviews.length > 0
1392
+ ? { count: devicePreviews.length, onPress: openDevicePreview }
1393
+ : null
1394
+ }
1395
+ browserPreview={
1396
+ browserTabs.tabs.length > 0
1397
+ ? { count: browserTabs.tabs.length, onPress: () => openBrowserPreview() }
1398
+ : null
1399
+ }
1400
+ showScrollToEnd={showScrollToEndButton}
1401
+ onScrollToEnd={handleScrollToEnd}
1402
+ agents={agentsSegment}
1403
+ onOpenAgents={() => {
1404
+ Keyboard.dismiss();
1405
+ navigation.navigate("ThreadAgents", {
1406
+ environmentId: props.environmentId,
1407
+ threadId: props.selectedThread.id,
1408
+ });
1409
+ }}
1410
+ queuedCount={queuedCount}
1411
+ onOpenQueue={() => {
1412
+ Keyboard.dismiss();
1413
+ navigation.navigate("ThreadQueue", {
1414
+ environmentId: props.environmentId,
1415
+ threadId: props.selectedThread.id,
1416
+ });
1417
+ }}
1418
+ />
1419
{props.queuedRunEdit !== null ? (
1420
<Animated.View
1421
className="shrink-0"