The best way to control Claude Code, Codex and more from any computer or phone
fix: avoid sending composer during IME enter (#2817)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Huakun committed
Jun 11, 2026 at 22:14 UTC
d25090cf6d2f334668bf1cba75b6ce3d78beb237
1 file changed
+6
apps/web/src/components/ComposerPromptEditor.tsx
+6
@@ -910,6 +910,12 @@ function ComposerCommandKeyPlugin(props: {
910
if (!props.onCommandKeyDown || !event) {
911
return false;
912
}
913
+
914
+ if (key === "Enter" && (event.isComposing || event.keyCode === 229)) {
915
+ event.stopPropagation();
916
+ return true;
917
+ }
918
+
919
const handled = props.onCommandKeyDown(key, event);
920
if (handled) {
921
event.preventDefault();