VSCode extension: input box flickers and focus rapidly ping-pongs between multiple open session tabs
Open 💬 5 comments Opened Jun 27, 2026 by You-lius
What happened
When multiple Claude Code sessions are open in the same VSCode window (as tabs in the panel), the input box flickers and keyboard focus rapidly "ping-pongs" between the open sessions on its own. This makes it very hard to type into the input box.
Steps to reproduce
- Open 2 or more Claude Code sessions in the same VSCode window (default
claudeCode.preferredLocation: panel). - Observe the session tabs in the panel.
- Focus automatically alternates back and forth between the sessions, and the input box flickers.
Expected behavior
Focus stays in the session the user is interacting with. No automatic focus switching between open session webviews.
Actual behavior
Focus rapidly alternates between multiple open session tabs, the input box flickers, and typing is disrupted.
Workaround
- Keeping only one session per window (separate VSCode windows for concurrent sessions) avoids it.
claudeCode.useTerminal: truealso avoids it, since it removes the webview panel entirely.
Environment
- Extension:
anthropic.claude-code2.1.195 - VSCode on Linux (a
vscode-server2.1.183 host is also present) - OS: Linux (zen kernel 7.0.13-zen1)
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗