[BUG] The chat prompt grabs the input when trying to maximize the main panel via keyboard shortcut
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?
When hitting the keyboard shortcut to maximize the panel (View: Toggle Maximize Panel):
- In Cursor.AI's IDE the sidebar expands to occupy have the width of the editor
- In VSCode the extension grabs the input and transfers the focus to the chat's prompt (textbox)
Notes:
- Defining a different keyboard shortcut yields the same result.
- The problem does not persist when the extension is not visible on screen (e.g. by closing the extension or by opening a different text document in the same panel, making the extension tab hidden).
- The problem also does not persist when using the Claude Code CLI panel. It happens only with the VSCode UI extension.
What Should Happen?
The main panel (terminal, problems, output, debug console) should maximize to the full height of the editing area.
Error Messages/Logs
N/A
Steps to Reproduce
Hit the "View: Toggle Maximize Panel" shortcut.
Edit: Clicking the UI button has the same effect - the extension hijacks the operation.
<img width="349" height="84" alt="Image" src="https://github.com/user-attachments/assets/8da18c4d-9f87-4def-926d-370d033314e0" />
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.46 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
I'm relatively new to Claude Code, using it for a few weeks, don't recall having this issue when I started using the extension. This seems new, but can't tell for sure.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗