[BUG]

Resolved 💬 3 comments Opened Mar 31, 2026 by cfaar Closed Apr 4, 2026

Preflight Checklist

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

What's Wrong?

The Claude Code VS Code extension has a focus management problem in its chat panel. It listens for window focus events, and when multiple chat panels are open, any focus event (even internal VS Code layout changes) causes all the chat panels to fight over focus simultaneously — making the input box appear to bounce or flicker across all open chats.

It's essentially the extension being too aggressive about grabbing focus, and with multiple panels open, they all try to claim it at the same time.

What Should Happen?

it should not be selecting random open windows in a cascading loop

Error Messages/Logs

Steps to Reproduce

open multiple windows in vs code and run claude, then go do something else on windows and go back to find it selecting chats in a small loop.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

latest

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗