Skip to content

Conversation

@kycutler
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 26, 2026 16:33
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 26, 2026
Copy link
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

Adjusts focus handling for the Integrated Browser editor to better synchronize focus between the editor container and the underlying BrowserView.

Changes:

  • Introduces an ensureBrowserFocus() helper to set the browser container as the active element in specific scenarios.
  • Updates focus handling on browser-view focus events to use ensureBrowserFocus() instead of blurring the current active element.
  • When the view becomes visible, conditionally focuses the BrowserView if the browser container is already the active element.

@kycutler kycutler enabled auto-merge (squash) January 26, 2026 16:53
@kycutler kycutler merged commit b074b32 into main Jan 26, 2026
27 of 28 checks passed
@kycutler kycutler deleted the kycutler/browserfocus2 branch January 26, 2026 17:00
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.

2 participants