Skip to content

Fix browser overflowing container in some scenarios#320269

Open
kycutler wants to merge 2 commits into
mainfrom
kycutler/bitter-seahorse
Open

Fix browser overflowing container in some scenarios#320269
kycutler wants to merge 2 commits into
mainfrom
kycutler/bitter-seahorse

Conversation

@kycutler
Copy link
Copy Markdown
Contributor

@kycutler kycutler commented Jun 6, 2026

Fixes #320266

Copilot AI review requested due to automatic review settings June 6, 2026 23:44
@kycutler kycutler self-assigned this Jun 6, 2026
@kycutler kycutler enabled auto-merge (squash) June 6, 2026 23:44
@vs-code-engineering
Copy link
Copy Markdown
Contributor

vs-code-engineering Bot commented Jun 6, 2026

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@jruales

Matched files:

  • src/vs/workbench/contrib/browserView/electron-browser/features/webContentsViewRendererFeature.ts
  • src/vs/workbench/contrib/browserView/electron-browser/media/browser.css

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses a layout/rendering issue in the integrated browser editor when the tab is dragged into a split editor group, where the browser content can overflow its intended container and appear in the wrong place.

Changes:

  • Adjusts the browser container wrapper’s flex sizing behavior to be more explicit (flex: 1 1 auto).
  • Clips overflowing content in the wrapper by adding overflow: hidden to prevent rendering outside the intended bounds.
Show a summary per file
File Description
src/vs/workbench/contrib/browserView/electron-browser/media/browser.css Tweaks the browser container wrapper layout/clipping to prevent overflow when the editor is split.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

@kycutler kycutler marked this pull request as draft June 7, 2026 00:00
auto-merge was automatically disabled June 7, 2026 00:00

Pull request was converted to draft

@kycutler kycutler marked this pull request as ready for review June 7, 2026 00:20
@kycutler kycutler enabled auto-merge (squash) June 7, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Browser renders in the wrong place after dragging into a split view

2 participants