Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

[codex] fix: restore pending input keyboard activation (#3501)

Wout Stiens8b993bc9ff79
diff --git a/apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx b/apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx
index bf869d25c..d826eca00 100644
--- a/apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx
+++ b/apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx
@@ -208,19 +208,17 @@ const ComposerPendingUserInputCard = memo(function ComposerPendingUserInputCard(
</>
);
return (
- <div
+ <button
key={`${activeQuestion.id}:${option.label}`}
- role="button"
- tabIndex={isResponding ? -1 : 0}
- aria-disabled={isResponding}
+ type="button"
+ disabled={isResponding}
onClick={() => {
- if (isResponding) return;
handleOptionSelection(activeQuestion.id, option.label);
}}
className={className}
>
{content}
- </div>
+ </button>
);
})}
</div>