claude-code - 💡(How to fix) Fix UI duplicates user input/content 30+ times after first assistant response (v2.1.116, Windows) [1 comments, 2 participants]

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…
GitHub stats
anthropics/claude-code#51706Fetched 2026-04-22 07:55:02
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

After the first assistant response in a new session, the UI renders user input and content duplicated 30+ times. The issue appears to be a UI rendering bug - the underlying transcript files are correct and contain no duplicate messages.

Root Cause

After the first assistant response in a new session, the UI renders user input and content duplicated 30+ times. The issue appears to be a UI rendering bug - the underlying transcript files are correct and contain no duplicate messages.

RAW_BUFFERClick to expand / collapse

Environment

  • Claude Code Version: 2.1.116.d8c
  • OS: Windows 11 Pro 10.0.26100
  • Shell: bash
  • Installation Method: Native (curl script), previously npm global install
  • Plugins: All disabled ("enabledPlugins": {})

Description

After the first assistant response in a new session, the UI renders user input and content duplicated 30+ times. The issue appears to be a UI rendering bug - the underlying transcript files are correct and contain no duplicate messages.

Reproduction Steps

  1. Start a new Claude Code session
  2. Enter any question/prompt
  3. Wait for the first assistant response to complete
  4. Observe UI immediately shows 30+ duplicates of the user input/content

Expected Behavior

UI should display single user input and single assistant response.

Actual Behavior

UI renders the same content 30+ times (see screenshot below).

What I've Ruled Out

  • ✅ All plugins disabled - issue persists
  • ✅ Cleared IndexedDB/LocalStorage/Cache - issue persists
  • ✅ Cleaned session history - issue persists
  • ✅ Verified transcript files are correct (no duplicate messages in .jsonl)
  • ✅ Issue is UI-layer only, data layer is clean

Key Clues

  • Issue started after switching from npm global install to native install (curl script)
  • Only triggers after the first assistant response in a session
  • Did not occur in version 2.1.111
  • Problem reproduces consistently across new sessions

Screenshot

<img width="1461" height="2142" alt="Image" src="https://github.com/user-attachments/assets/ba655027-5c12-40d1-8720-308bca554770" />

Note: I'll need to upload the screenshot separately as I cannot attach images directly via CLI. The screenshot shows the UI with 30+ duplicate copies of the same content stacked vertically.

Impact

This makes Claude Code unusable as the UI becomes completely cluttered after the first response, making it impossible to read or continue the conversation effectively.

extent analysis

TL;DR

The issue can likely be mitigated by reverting to the previous installation method (npm global install) or downgrading to version 2.1.111, as the problem started after switching to a native install and did not occur in the previous version.

Guidance

  • Verify that the issue is indeed related to the installation method by reinstalling using npm global install and checking if the problem persists.
  • Try downgrading to version 2.1.111 to confirm if the issue is version-specific.
  • Check the differences in configuration or environment variables between the native install and npm global install to identify potential causes.
  • Inspect the UI rendering code to see if there are any changes or updates that could be causing the duplication of content.

Example

No code snippet is provided as the issue is more related to the installation and environment rather than a specific code block.

Notes

The issue seems to be specific to the native install method and version 2.1.116.d8c, and reverting to the previous installation method or downgrading the version may provide a temporary workaround. However, the root cause of the issue still needs to be identified and fixed.

Recommendation

Apply workaround: Revert to the previous installation method (npm global install) or downgrade to version 2.1.111, as this is likely to mitigate the issue until a permanent fix is available.

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 UI duplicates user input/content 30+ times after first assistant response (v2.1.116, Windows) [1 comments, 2 participants]