You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Enter during dictation does nothing when focus is on the chat timeline #44325
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Open a thread that has messages.
Click a message, or empty space in the chat. Focus moves to the timeline (.messages-timeline-scroll) or the Conversation region, not the composer.
Start dictation with the shortcut.
Speak, then press Enter while still recording.
Expected behavior
Enter stops dictation and sends the transcript, the same as when focus is on the page body.
Actual behavior
Nothing happens. Recording keeps going. Enter is ignored until you click the composer or stop dictation with the shortcut first.
useDictationSubmissionShortcut only takes Enter when the target is document.body or inside the composer editor. The timeline and the Conversation region are focusable, so Enter from them is dropped.
Linux. Web (Chromium) and desktop (Electron dev build). Local transcription (Parakeet), toggle and auto shortcut modes.
Logs or stack traces
Driven with Playwright and a fake microphone playing a speech clip. Sends counted from outgoing orchestration.dispatchCommand frames.
Focus when Enter is pressed
Web, main
Desktop, main
Timeline (clicked a message)
0 of 8 sent, still recording
0 of 3 sent, still recording
Conversation region (clicked empty chat)
0 of 1 sent
0 of 1 sent
Page body
sent
sent
This differs from #44285, which was closed as not reproducible. That PR was about focus after dictation ends, and I could not reproduce that on main either.
Workaround
Stop dictation with the shortcut first, then press Enter.
Activity