Skip to content

Commit 35b4b8b

Browse files
juliusmarmingecodex
andcommitted
fix(web): disable collapsed send while running
Guard the collapsed mobile send button during active turns. Co-authored-by: codex <[email protected]>
1 parent 28063d0 commit 35b4b8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/chat/ChatComposer.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ export const ChatComposer = memo(
10441044
[activePendingIsResponding, activePendingProgress, activePendingResolvedAnswers],
10451045
);
10461046
const collapsedComposerPrimaryActionDisabled =
1047-
isSendBusy || isConnecting || !composerSendState.hasSendableContent;
1047+
phase === "running" || isSendBusy || isConnecting || !composerSendState.hasSendableContent;
10481048
const collapsedComposerPrimaryActionLabel = "Send message";
10491049
const showMobilePendingAnswerActions =
10501050
isMobileViewport && !isComposerCollapsedMobile && pendingPrimaryAction !== null;

0 commit comments

Comments
 (0)