diff --git a/app/components/home.tsx b/app/components/home.tsx index de93510db..d909a346d 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -340,6 +340,15 @@ export function Chat(props: { } }, 500); }); + + // Fix Chinese input method "Enter" issue + document.addEventListener( + "keydown", + (e) => { + if (e.keyCode == 229) e.stopPropagation(); + }, + true, + ); return (