@devries-cameron20 / t3code-1 / commits / 8db3c250f4
Fork 0

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

fix(mobile): prevent overlapping text and UI on Android chat messages (#11611)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

James C committed Sep 17, 2026 at 19:12 UTC 8db3c250f41e8f1d0b36da6b5a5093821e72d4f3
1 file changed +7 -2
apps/mobile/src/features/threads/ThreadFeed.tsx
+7 -2
@@ -627,6 +627,7 @@ const markdownLinkStyles = StyleSheet.create({
627 height: 14,
628 marginHorizontal: 3,
629 transform: [{ translateY: 2 }],
630 + flexShrink: 0,
631 },
632 favicon: {
633 borderRadius: 3,
@@ -1155,7 +1156,7 @@ function useMarkdownStyles(
1156 >
1157 {ordered ? `${start + index}.` : "•"}
1158 </NativeText>
1158 - <View className="min-w-0 flex-1">
1159 + <View className="min-w-0 flex-1 shrink overflow-hidden">
1160 <Renderer node={child} depth={1} inListItem parentIsText={false} />
1161 </View>
1162 </View>
@@ -1684,10 +1685,14 @@ function renderFeedEntry(
1685 return null;
1686 }
1687
1688 + // Assistant messages hit the same Android unclamped-pass bug as user
1689 + // bubbles: wide markdown blocks cause children to be positioned at
1690 + // intrinsic width before the container is clamped, overlapping the
1691 + // timestamp/copy button row. Pinning the width removes that pass.
1692 const enterAnimated = isFreshTimestamp(message.createdAt);
1693 return (
1694 <Animated.View
1690 - className={cn(showAssistantMeta ? "mb-5 px-1" : "mb-1 px-1")}
1695 + className={cn(showAssistantMeta ? "mb-5 px-1" : "mb-1 px-1", hasWideBlock && "w-full")}
1696 {...(enterAnimated ? { entering: FadeIn.duration(220) } : {})}
1697 >
1698 {renderedText.trim().length > 0 ? (