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]: Cmd+Enter in the citation comment box sends the message but leaves it in the composer #33414
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
In any thread with an assistant reply, type some text in the composer (e.g. check it again ).
Select some assistant text and click Cite. The citation chip is inserted and the "Add an optional comment..." box opens.
Leave the comment empty and press Cmd+Enter in the comment box (save and send).
Expected behavior
The message is sent and the composer clears, the same as sending any other way.
Actual behavior
The message is sent and a turn starts, but the composer still holds the same text and citation chip. It stays there after the turn ends. Sending it again would post a duplicate.
Only the Cmd+Enter save-and-send path does this. In the same session, on the same build:
How it was sent
Sent?
Composer cleared?
Cmd+Enter in the empty comment box
yes
no
Enter (Save) in the comment box, then the send button
yes
yes
Send button clicked while the empty comment box is open
yes
yes
In the code, the comment box's save-and-send (onSaveAndSend in ComposerPromptEditorTiptap.tsx) saves the comment into the citation node and then calls submitComposer right away (submitCitationAndSend in ChatComposer.tsx). Something on that path restores the old prompt after the send clears it. I haven't found the exact step.
Impact
Minor bug or occasional failure
Version or commit
Reproduced on main @ 6647b0a (dev build). First seen in the T3 Code desktop app.
Environment
macOS 15.1. Reproduced in an isolated dev build (vp run dev, the dev home folder) with the Replay (dev) provider, so it doesn't depend on the provider. First seen with Claude (claude-opus-5-5).
Screenshots, recordings, or supporting files
Screen.Recording.2026-11-09.at.20.57.47.mov
Workaround
Press Enter (Save) in the comment box first, then send from the composer. Or clear the composer by hand after sending.
Investigated and drafted by Claude Code (claude-opus-5-5) running inside T3 Code.
Activity