plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: Unable to leave a full comment in Japanese due to return key for IME confirmation prematurely triggers submission

Open Sleepwalking opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current behavior

While leaving comments on an issue, writing in English is fine but when I use a Japanese Input Method (macOS default), after typing in each word the last key stroke (which is always return) triggers the "submit" button. As a result, any attempt at inputing Japanese text of any length gets interrupted after the first word.

In this screenshot, I typed in a single word and is one step away from confirmation. As soon as I press return to finalize the word (and expect to start typing in the next word), the comment gets submitted.

image

Steps to reproduce

  1. Go to an issue.
  2. Click "Add comment..."
  3. Switch to the system Japanese input method on macOS (not sure if Windows does the same)
  4. Type in "a" so the IME shows up with a suggestion "あ"
  5. Press return to confirm the "あ"

Environment

Production

Browser

Google Chrome

Variant

Cloud

Version

v0.22-dev

Sleepwalking avatar Sep 02 '24 05:09 Sleepwalking