claude-code - 💡(How to fix) Fix [BUG] Preview panel content renders on left side overlapping chat instead of in the right-side panel area [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#46944Fetched 2026-04-12 13:29:02
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Fix Action

Fix / Workaround

Workaround: Clicking the three-dot menu (⋮) next to the Preview tab temporarily fixes the layout — the preview snaps into its correct position on the right. However, as soon as the menu is dismissed (clicking elsewhere), the preview content jumps back to the left side, overlapping the chat again.

RAW_BUFFERClick to expand / collapse

Preflight

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report
  • I am using the latest version of Claude Code

What's Wrong?

When using the Preview panel in the Claude Code Desktop app (Windows), the preview content (browser view) renders on the left side overlapping the chat conversation instead of staying inside the right-side panel area where the gray background is.

The gray background placeholder for the Preview panel appears correctly on the right side, but the actual rendered content (the browser view showing the dev server) overlays on top of the chat text on the left, making the conversation unreadable.

Workaround: Clicking the three-dot menu (⋮) next to the Preview tab temporarily fixes the layout — the preview snaps into its correct position on the right. However, as soon as the menu is dismissed (clicking elsewhere), the preview content jumps back to the left side, overlapping the chat again.

What Should Happen?

The Preview panel content should render inside the right-side panel area (where the gray background is), without overlapping the chat conversation on the left.

Steps to Reproduce

  1. Open Claude Code Desktop app on Windows 11
  2. Start a dev server using Preview (e.g., configure .claude/launch.json and run preview_start)
  3. The Preview panel opens — notice the gray background area is on the right, but the actual browser content renders on the left, overlapping the chat
  4. Click the three-dot menu (⋮) next to the Preview tab — the layout corrects itself temporarily
  5. Click anywhere else to dismiss the menu — the preview jumps back to the left side

Claude Model

Opus 4.6

Is this a regression?

I don't know

Claude Code Version

Latest (always kept up to date)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

  • Terminal: Claude Code Desktop App (Windows native app, not CLI in a terminal)
  • OS: Windows 11 Home 10.0.26200
  • Plan: Max plan

This appears to be a CSS/layout issue specific to the Preview panel positioning in the Desktop app on Windows.

extent analysis

TL;DR

The issue can likely be resolved by adjusting the CSS styling or layout configuration of the Preview panel in the Claude Code Desktop app to correctly position it within the right-side panel area.

Guidance

  • Investigate the CSS styles applied to the Preview panel and its parent elements to identify any positioning or layout issues that could be causing the overlap.
  • Check the HTML structure of the Preview panel and surrounding elements to ensure that it is correctly nested and aligned with the intended layout.
  • Consider adding a temporary CSS fix, such as position: relative or overflow: hidden, to the Preview panel or its parent elements to see if it resolves the issue.
  • Review the JavaScript code that handles the three-dot menu click event to see if it applies any temporary styling or layout adjustments that could be used to permanently fix the issue.

Example

No specific code example can be provided without more information about the CSS and HTML structure of the Preview panel.

Notes

The issue appears to be specific to the Windows version of the Claude Code Desktop app, and the temporary fix provided by clicking the three-dot menu suggests that there may be a JavaScript or CSS issue that is causing the layout problem.

Recommendation

Apply a workaround by adjusting the CSS styling or layout configuration of the Preview panel, as the issue seems to be related to a layout or positioning problem rather than a fundamental bug in the app.

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