[BUG] UX issue: Permission prompt captures keystrokes while user is typing next prompt (Official Claude Code JetBrains IDE Plugin)

Resolved 💬 2 comments Opened Feb 6, 2026 by georgknabl Closed Feb 6, 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?

When Claude Code is processing a task in the JetBrains IDE plugin (tested in PHPStorm), I often start typing my next prompt while waiting for the current operation to finish. If Claude triggers a permission prompt (e.g., "Do you want to proceed?") while I am actively typing, my keystrokes are immediately captured by the permission prompt instead of the input field. This results in unintended permission decisions — for example, accidentally approving or rejecting an action because a key I was pressing happens to match one of the prompt options.
There is no grace period, confirmation buffer, or input isolation between the text input area and the permission prompt. The prompt appears instantly and steals keyboard focus mid-keystroke.

What Should Happen?

Permission prompts should not immediately capture keyboard input. At minimum, one of the following safeguards should be in place:

  • Input isolation: Keystrokes directed at the prompt input field should not be forwarded to a permission prompt that appears mid-typing
  • Grace period / debounce: A short delay (e.g., 300–500ms) before the permission prompt accepts keyboard input, preventing accidental selections
  • Explicit confirmation: Require an explicit keypress (e.g., Enter) to confirm a permission choice, rather than accepting single-key selections immediately
  • Visual focus indicator: Clear visual distinction when focus shifts from the input field to a permission prompt, giving the user time to react

Error Messages/Logs

None, as this is an UX issue.

Steps to Reproduce

  1. Open a project in PHPStorm with the Claude Code plugin installed
  2. Give Claude a task that will require multiple steps (some requiring permission)
  3. While Claude is working, start typing your next prompt in the input area
  4. Wait for a permission prompt to appear mid-typing
  5. Observe that your keystrokes are captured by the permission prompt, potentially triggering an unintended approval or rejection

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.34

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

This is especially problematic for fast typists who habitually pre-compose their next prompt while Claude is working.

Plugin version: 0.1.14-beta
Plugin URL: https://plugins.jetbrains.com/plugin/27310-claude-code-beta-
IDE: PHPStorm

View original on GitHub ↗

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