claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] The chat prompt grabs the input when trying to maximize the main panel via keyboard shortcut

Open AviBueno opened this issue 1 year ago • 3 comments

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:

  1. Defining a different keyboard shortcut yields the same result.

  2. 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).

  3. 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.

Image

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.

AviBueno avatar Nov 19 '25 14:11 AviBueno

Update: The above report refers to the extension appearing as an editor tab next to other text/file editors. This was the behavior ever since I installed the extension. Image

After fiddling with the extension for a bit, I think I selected "Claude Code: Open in Side Bar" and the extension now appears on the list of the sidebar icons (it didn't until today), opens as expected, acts as expected and I don't experience the reported issue anymore.

And after more fiddling right now, I found out that "Claude Code: Open in New Tab" is what's causing it to misbehave.

To summarize, the issue persists when the extension is opened as a tab, and doesn't persist when opening as a sidebar panel, nor as a new window.

Image Image

AviBueno avatar Nov 20 '25 17:11 AviBueno

I noticed this too. This appears to have started with 2.0.42. Thanks for updating with a decent workaround!

brenc avatar Nov 21 '25 22:11 brenc

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 22 '25 10:12 github-actions[bot]

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] avatar Jan 21 '26 10:01 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Jan 28 '26 14:01 github-actions[bot]