[BUG]macOS system shortcuts (Cmd+H, Cmd+M) not working when Claude panel is focused

Open 💬 7 comments Opened Mar 26, 2026 by Hnasar

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?

(Reopening https://github.com/anthropics/claude-code/issues/12358 because the triage bot incorrectly closed)

What's Wrong?

On macOS, system shortcuts like Cmd+H (hide window) and Cmd+M (minimize window) work correctly throughout VSCode, but do not work when the Claude Code panel is focused.
What Should Happen?

Actual behavior: Nothing happens. The shortcuts appear to be captured/swallowed by the Claude webview. Additional context:

Both shortcuts work correctly when any other part of VSCode is focused (editor, file explorer, etc.)
Neither shortcut appears in VSCode's keyboard shortcuts list, suggesting the webview is intercepting them before VSCode processes them
This affects standard macOS window management workflows

Error Messages/Logs

Steps to Reproduce

Steps to reproduce:

What Should Happen?

Expected behavior:

Cmd+H should hide the VSCode window
Cmd+M should minimize the VSCode window

Error Messages/Logs

Steps to Reproduce

Open VSCode with Claude Code extension installed
Open the Claude Code panel
Click in the Claude panel to focus it
Press Cmd+H or Cmd+M

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.84

Platform

Google Vertex AI

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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