Unwanted input elements appear when using Command+G and focus changes to text editor
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?
<img width="192" height="148" alt="Image" src="https://github.com/user-attachments/assets/0d12714b-0c01-4dea-b1fc-3800a3e502dc" />
## Description
When using Command+G to edit code in the text editor,
unwanted input UI elements automatically appear whenever
focus changes to the text editor.
## Expected Behavior
The text editor should gain focus without triggering
automatic appearance of input elements.
## Actual Behavior
Input elements automatically appear when focus changes
to the text editor.
## Steps to Reproduce
- Use Command+G to initiate code editing
- Focus automatically changes to the text editor
- Input elements/fields appear automatically (when they
shouldn't)
## Environment
- Platform: macOS (Darwin 25.0.0)
- Claude Code Model: claude-sonnet-4-5-20250929
## Additional Context
This occurs consistently when the automatic focus change
happens after Command+G is pressed.
What Should Happen?
## Expected Behavior
The text editor should gain focus without triggering
automatic appearance of input elements.
Error Messages/Logs
Steps to Reproduce
## Steps to Reproduce
- Use Command+G to initiate code editing
- Focus automatically changes to the text editor
- Input elements/fields appear automatically (when they
shouldn't)
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.39 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗