[BUG] Slash command auto-submits on click before user can type arguments
Status Open
Reported on v2.1.223
Maintainer reply None cached
Activity 0 comments · opened Aug 19, 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?
Environment: VSCode extension (desktop app)
Describe the bug
When selecting a slash command from the dropdown (e.g. /wiki-ingest, /grilling),
the message is submitted immediately on click — before the user has any opportunity
to type additional arguments or context.
What Should Happen?
Expected behavior
Selecting a slash command should populate the input field with the command text,
allowing the user to add arguments before pressing Enter to submit.
Error Messages/Logs
No error messages
Steps to Reproduce
Steps to reproduce
- Open the Claude Code input field in the VSCode extension
- Type
/to open the slash command dropdown - Click any command from the dropdown
- Observe: message is sent immediately
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.223 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
I use the VS Code Chat Function to chat with Claude Code, not the Terminal.