Skip to main content

IME composition triggers unexpected form submission and prevents newline input

When using an Input Method Editor (IME) such as Japanese, Chinese, or Korean, pressing Enter to confirm text composition triggers form submission instead of confirming the composition or inserting a newline.

Actual behavior:

Enter is treated as a submit action even during composition. On mobile devices, the Enter key is often replaced by a submit action, making it impossible to insert newlines at all.

This can be addressed by respecting composition events (compositionstart / compositionend) and avoiding Enter-to-submit behavior inside multiline inputs.

1 comment

Log in to comment and vote

Comments1

  • meimei

    Team•

    Dec 19, 2025

    I tested using the Enter key in the input method and I can insert a newline normally. To help us better locate the issue, could you please provide a screen recording of your operation? This will allow us to see on which page or in which input box pressing Enter directly generates the content. With this information, we can help you troubleshoot and resolve the issue more quickly.