claude-code - 💡(How to fix) Fix [BUG] [iOS App] Long conversations with code blocks take minutes to load — app blocks interaction until fully rendered

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Long Claude Code conversations containing many large code blocks take several minutes to load on the iOS native app. The app appears to download the full conversation and render every message — including syntax-highlighted code blocks — before allowing any user interaction. On a session with 50+ turns of code-heavy responses this blocks the app for 3–5 minutes on modern iPhone hardware.

Exiting and re-entering the app restarts the loading process from scratch, making it impractical to send a quick task from a mobile context.

What Should Happen?

The input field should be interactive within a few seconds. Only the most recent messages need to be rendered immediately — older history can load progressively or on scroll (virtual scrolling).

Error Messages/Logs

Steps to Reproduce

Steps to reproduce:

Create a long Claude Code session with many multi-hundred-line code responses Open the session in the Claude iOS native app Observe: full render must complete before the input field is usable Background the app, re-open it Observe: loading process restarts from the beginning

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.114 (Claude Code)

Platform

Anthropic API

Operating System

Other

Terminal/Shell

Other

Additional Information

Suggested fix: Implement virtual/windowed rendering so only visible messages are in the DOM. Most modern chat apps (iMessage, WhatsApp, Slack) do this. Render the last N messages on load and lazy-load upward as the user scrolls. This would make initial load time proportional to viewport size, not conversation length.

Impact: Makes the iOS app unusable for quick task input on long coding sessions — the primary mobile use case.

extent analysis

TL;DR

Implement virtual or windowed rendering to only render visible messages, allowing for faster initial load times and improved user interaction.

Guidance

  • Investigate implementing a lazy-loading mechanism to render only the most recent messages initially, and load older messages as the user scrolls.
  • Consider implementing a virtual scrolling technique to improve performance and reduce the amount of data being rendered at once.
  • Review the rendering logic to ensure that only visible messages are added to the DOM, reducing the computational overhead and improving initial load times.
  • Test the implementation with varying conversation lengths and message sizes to ensure the solution scales well and provides a smooth user experience.

Example

No code example is provided as the issue does not contain specific implementation details, but a possible approach could involve using a library or framework that supports virtual scrolling and lazy loading, such as React Virtualized or Vue Virtual Scroller.

Notes

The suggested fix is based on the provided information and may require additional modifications to the existing codebase. The implementation details will depend on the specific technologies and frameworks used in the Claude Code iOS app.

Recommendation

Apply workaround: Implement virtual or windowed rendering to improve the performance and usability of the iOS app, especially for long coding sessions. This approach is likely to provide a significant improvement in initial load times and user interaction, making the app more usable for quick task input on mobile devices.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] [iOS App] Long conversations with code blocks take minutes to load — app blocks interaction until fully rendered