@devries-cameron20 / t3code Mirror · read-only / commits / 9c96ac2580
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 09:00 UTC

fix(web): keep settings inputs focused during IME composition (#10262)

Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>

Simone committed Sep 7, 2026 at 00:48 UTC 9c96ac25804de9f38cd19c57976fe73573efa005
1 file changed +1
apps/web/src/hooks/useCommitOnBlur.ts
+1
@@ -34,6 +34,7 @@ export function useCommitOnBlur(value: string, onCommit: (next: string) => void)
34 }
35 },
36 onKeyDown: (event: KeyboardEvent<HTMLInputElement>) => {
37 + if (event.nativeEvent.isComposing || event.keyCode === 229) return;
38 if (event.key === "Enter") {
39 event.preventDefault();
40 (event.target as HTMLInputElement).blur();