claude-code - 💡(How to fix) Fix Voice: `autoSubmit: false` is ignored in tap mode — prompt auto-submitted with no way to edit transcript [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52383Fetched 2026-04-24 06:08:38
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3

In the CLI, voice dictation tap mode always auto-submits the prompt as soon as the second tap ends the recording (when the transcript is ≥ 3 words). Setting "autoSubmit": false in the voice settings object has no effect in tap mode — the prompt is sent immediately, leaving no opportunity to edit the transcript before submission.

This is a problem in real usage because speech-to-text regularly misrecognizes words (especially for non-English languages or technical vocabulary), and there is no way to review or correct the text before it reaches Claude.

Root Cause

This is a problem in real usage because speech-to-text regularly misrecognizes words (especially for non-English languages or technical vocabulary), and there is no way to review or correct the text before it reaches Claude.

Code Example

{
     "voice": {
       "enabled": true,
       "mode": "tap",
       "autoSubmit": false
     }
   }
RAW_BUFFERClick to expand / collapse

Summary

In the CLI, voice dictation tap mode always auto-submits the prompt as soon as the second tap ends the recording (when the transcript is ≥ 3 words). Setting "autoSubmit": false in the voice settings object has no effect in tap mode — the prompt is sent immediately, leaving no opportunity to edit the transcript before submission.

This is a problem in real usage because speech-to-text regularly misrecognizes words (especially for non-English languages or technical vocabulary), and there is no way to review or correct the text before it reaches Claude.

Steps to reproduce

  1. Set the following in ~/.claude/settings.json:
    {
      "voice": {
        "enabled": true,
        "mode": "tap",
        "autoSubmit": false
      }
    }
  2. Start Claude Code CLI (claude)
  3. With the prompt input empty, tap Space to start recording
  4. Speak a phrase of 3+ words
  5. Tap Space again to stop recording

Expected behavior

With autoSubmit: false, the transcript is inserted into the prompt but not submitted. The user can edit the transcript and press Enter manually when ready.

Actual behavior

The transcript is inserted and the prompt is submitted immediately on the second tap, regardless of the autoSubmit setting. No editing possible.

Documentation note

The docs at https://code.claude.com/docs/en/voice-dictation describe autoSubmit only in the context of hold mode ("Set autoSubmit: true in the voice settings object to send the prompt automatically when you release the key"). The tap mode section does not mention any way to disable auto-submission.

If this is by design, it should be documented explicitly ("tap mode always auto-submits, this cannot be disabled"). If it's a bug/gap, autoSubmit: false should work symmetrically in tap mode to allow editing before submission.

Suggested fix

Honor autoSubmit: false in tap mode: after the second tap, insert the transcript into the input but do not submit — wait for Enter like hold mode does by default.

Environment

  • Claude Code CLI version: 2.1.118
  • OS: Windows 11
  • Auth: Claude.ai account

extent analysis

TL;DR

To fix the issue, the autoSubmit setting should be honored in tap mode, allowing users to edit the transcript before submission.

Guidance

  • Verify that the autoSubmit setting is correctly set to false in the ~/.claude/settings.json file.
  • Test the behavior in hold mode to confirm that autoSubmit: false works as expected, and compare it to the tap mode behavior.
  • Consider updating the documentation at https://code.claude.com/docs/en/voice-dictation to explicitly state the behavior of autoSubmit in tap mode, whether it's intended or a bug.
  • If the issue is confirmed as a bug, a potential fix could involve modifying the tap mode logic to wait for the Enter key press before submitting the prompt, similar to hold mode.

Example

No code snippet is provided as the issue is more related to the configuration and behavior of the application.

Notes

The issue seems to be specific to the tap mode and the autoSubmit setting, and the suggested fix is to honor this setting in tap mode. However, without further information or confirmation from the developers, it's unclear if this is a bug or an intended behavior.

Recommendation

Apply workaround: until the issue is resolved, users may need to use hold mode or manually edit the transcript before submission, if possible.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

With autoSubmit: false, the transcript is inserted into the prompt but not submitted. The user can edit the transcript and press Enter manually when ready.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING