fix(mobile): prevent Android chat rows overlapping during sync #10983
main fromrefs/pull/10983/head·merged by juliusmarminge View on GitHubLoading an Android chat during sync can leave assistant text drawn over the preceding attachment and timestamp until refresh. Reproduced the intermittent overlap with an attachment-only user message followed by a long assistant response.
Use LegendList's non-animated row positioning on Android instead of Reanimated layout transitions, including zero-duration transitions. Keep that choice stable during command expansion/collapse so the list does not swap container types and remount rows. iOS retains its existing transition path.
Validation: Android API 36 before/after with fresh conversations, plus a successful hardware-accelerated run with a command disclosure. iPhone 17 Pro / iOS 26.5 rendered the same fixture correctly, including delayed attachment loading. Mobile typecheck, 31 focused feed tests, formatting, and targeted lint passed (lint reports existing warnings). The failure was intermittent; subsequent upstream loads also sometimes passed, so these checks establish an Android reproduction, not proof that every iOS timing scenario is unaffected.
Recording limitation: native Android screen recording repeatedly stalled the emulator, including a System UI non-response. Before/after simulator screenshots are attached; a usable motion recording could not be captured.
| Android before | Android after |
|---|---|
![]() | ![]() |
Model: GPT-6. Harness: Codex.
- 1
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:S
Approvability#
Verdict: Approved at
8fd6696Macroscope's review found this PR approvable — This is a focused one-file mobile bug fix that disables the problematic Android row-layout transition path while preserving iOS behavior. Its runtime impact is limited to chat row positioning and animation, with no schema, security, billing, deployment, or static-analysis changes.
You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
3fb02f4d-df30-45b9-9a11-7f4c4eae104f📥 Commits
Reviewing files that changed from the base of the PR and between e16b8b059c9f5ff6dfed1addecffb831c6aee043 and 8fd66968801bdb1c8ee04a042298469bbcea4162.
📒 Files selected for processing (1)
apps/mobile/src/features/threads/ThreadFeed.tsx
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
Walkthrough#
The thread feed now disables
itemLayoutAnimationon Android to avoid stale native row positions during measurement races. iOS retains its existing disclosure and immediate layout transitions.Changes#
Thread feed layout behavior
Layer / File(s) Summary Platform-specific layout animation
apps/mobile/src/features/threads/ThreadFeed.tsxAndroid uses undefinedforitemLayoutAnimation. iOS continues to use disclosure and immediate transitions based on settling state. The comment now documents the Android measurement race.Priority: ➖ Normal
Estimated code review effort: 2 (Simple) | ~10 minutes
Merge Risk: ⚪ Minimal · up to
8fd66Android thread rows now use non-animated positioning to prevent sync-time overlap, while iOS behavior remains unchanged. No current merge-blocking risk is identified.
Suggested reviewers:
juliusmarminge,t3dotgg🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1… Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request. Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request. Title check ✅ Passed The title clearly identifies the Android chat row overlap bug and the purpose of the fix. Description check ✅ Passed The description explains the problem, the Android-specific implementation, iOS behavior, validation, test results, and UI evidence. It does not reproduce the template headings or checklist, but it cov… ✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
Comment `@coderabbitai help` to get the list of available commands.juliusmarminge merged this75e4ceb
juliusmarminge closed this
It's discouraging to see my PR superceeded by an identical PR. I don't think it was intentional though. Glad the fix landed
Sign in to join this conversation.


macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes