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

Co-authored-by: Codex <[email protected]>
This commit is contained in:
Wout StiensandCodex authored and GitHub committed 2026-06-22 10:10:47 -07:00
1 parent ea52bb1dbd
commit 8b993bc9ff
1 file changed
+4 -6
@@ -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>