[Bug]: Mobile app chat messages render overlapping / garbled text #10846
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/mobile
Steps to reproduce#
- Connect with the mobile app (iOS, T3 Code app) to an environment (
cpamp · orangepi5-max) via T3 Connect / direct pairing. - Open a thread with long agent output — e.g. thread titled "Architecture desi..." with 7 subagents, tool-call summary rows ("Used 4 tools, ran 19 commands...", "Ran 9 commands, changed 6 files...", "Ran 17 commands..."), and "Working for 52m 30s" indicator.
- Scroll through assistant messages containing Vietnamese text.
- Observe the message bubbles.
Expected behavior#
Each assistant message renders as readable, non-overlapping text lines, same as web/desktop.
Actual behavior#
Assistant message text sometimes renders overlapped / garbled — multiple lines drawn on top of each other, unreadable. Looks like stacked text layers / incorrect line-height/layout in the chat bubble. Collapsible rows ("7 subagents", "Used 4 tools...") render fine, but the body paragraphs (Vietnamese content about BFF / plan Markdown / JWT / gateway etc.) are a jumble of overlapping glyphs.
Note: this is temporary, not permanent — go back out of the thread and re-enter, and the text renders normally again.
Screenshot: https://files.catbox.moe/04rzrw.png

Impact#
Minor bug or occasional failure — text is temporarily unreadable but recovers after back + re-enter thread.
Version or commit#
Server: 0.0.41-nightly.20260908.1414 (also seen on t3 v0.0.38 lineage) — mobile app version unknown (App Store latest)
Environment#
- Mobile app (iOS, iPhone — see status-bar screenshot, dark mode)
- Server: Linux ARM64 (Orange Pi 5 Max), Node v26.5.0, provider
opencode / muse-spark-1.3-contributor - Thread: long-running agent session (7 subagents, 52m30s, Vietnamese output)
Logs or stack traces#
N/A — pure UI rendering bug, no crash. Happy to provide screen recording if needed.
Screenshots, recordings, or supporting files#
Screenshot (mirror of IMG_2062.png): https://files.catbox.moe/04rzrw.png
Workaround#
Go back out of the thread and re-enter — text renders normally again. Alternatively open the same thread in web app / desktop app.
juliusmarminge added labelsbug
juliusmarminge added labelsaccepted
juliusmarminge added labelsvia-triage
juliusmarminge closed this
Note
🤖 GPT 6.1 Sol reporting on behalf of NikitaMGrimm
Reporting a possible recurrence after #16979, in response to the closure comment's request for reports on newer builds.
The user saw temporarily overlapping chat text on their physical iPhone on October 20, 2026, using their recently installed developer/test app. They associate it with scrolling upward quickly while chat content loads. Waiting long enough or switching chats and back clears the layout. They have tried to reproduce it again but cannot do so reliably.
The latest saved build manifest and installation/migration records identify:
- T3 Code Lab 2.0.0 (7), built and installed October 20; iOS 27.2 in the device records.
- Source:
6bad9da7ef0ccf03a4383cc4177e2c741ad79ccb, from build 39446666881. - An isolated, locally signed arm64 Release app with embedded JavaScript and OTA updates disabled. Its source includes the merged #16979 renderer replacement.
Those are saved installation records, not a live verification of the app at the instant of failure. A read-only query of the phone's current metadata timed out, so the exact build active during the incident is not independently confirmed.
There is no iOS capture or deterministic reproduction. The user also supplied a desktop screenshot for a similar Windows occurrence on October 21, reported in #16650; that is desktop evidence only, and a shared cause has not been established.
Please reassess whether this report should be reopened for investigation.
Seeing this on the Android app (2.0.0 alpha, Pixel 11 Pro XL), connected to desktop/server 0.1.1-nightly.20261017.3238 on Linux.
Trigger: I expanded a collapsed thinking/tool-calls section in a thread. The rows below it didn't move down, so the expanded content was drawn on top of the assistant messages that follow. Two paragraphs ended up drawn over each other, along with the "Ran N commands" rows.
Leaving the thread and coming back fixes it.
This looks like the stale row-height case: the row grows on expand, but the rows after it keep their old positions. The desktop version of this is #16650.
Sign in to join this conversation.
Thanks for the detailed repro — this looks like a real iOS chat-body rendering bug, not a server/provider issue. Web/desktop reading the same thread is the expected split: mobile iOS draws assistant prose through a custom native markdown
UITextView, not the web renderer.What we think is going on#
Assistant body markdown on iOS goes through:
apps/mobile/src/features/threads/ThreadFeed.tsx(AssistantMarkdownContent→SelectableMarkdownText)apps/mobile/modules/t3-markdown-text/(SelectableMarkdownText.ios.tsx,NativeMarkdownSelectableText.ios.tsx,T3MarkdownText.mm/T3MarkdownTextShadowNode.mm)That native path measures and paints with
usesFontLeading = NOand a fixed body line box (16/23). It also only rebuilds the attributed string during native layout. Work-log rows (“7 subagents”, “Used 4 tools…”, “Working for …”) use a different component (thread-work-log.tsx) and ordinary RNText, which matches “chrome is fine, body paragraphs are a jumble.”Vietnamese stacked diacritics plus mixed inline markdown (code/bold) is a strong trigger for either:
lineHeightcolliding with TextKit glyph metrics, orLegendList estimated/fixed row sizes are unlikely to be the primary cause here: message rows are measured, not given a fixed height. The overlap is described inside the bubble, not as whole feed rows sliding over each other.
Not a duplicate of#
Related but not a fix: open #9664 (keep markdown views stable while streaming).
Next#
Accepted as an iOS native-markdown layout bug. Engineering should repro on device with a long Vietnamese (or other stacked-diacritic Latin) assistant reply and inspect
T3MarkdownTextline metrics / attributed-string updates. Workaround remains: read the thread on web or desktop.A couple of extras that would help if you have them: