nhn / tui.image-editor

🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
http://ui.toast.com/tui-image-editor
MIT License
6.84k stars 1.26k forks source link

On Windows Chrome/Edge, clicking outside Japanese text before confirming text duplicates the characters #867

Open jmtallm opened 1 year ago

jmtallm commented 1 year ago

Describe the bug On Windows Chrome/Edge browsers, when you are entering Japanese text, if you click outside the text box before confirming the Japanese text you are typing, the already entered text will be duplicated.

To Reproduce

  1. Make sure you can type Japanese using Windows IME.
  2. Go to https://ui.toast.com/tui-image-editor
  3. Select the text edit button ("T").
  4. Change to Japanese input.
  5. Click on the image and start typing.
  6. Without pressing ENTER to confirm the word, click anywhere outside the textbox but within the image.

I just noticed yesterday if you go to IME settings and turn on the "Use previous version of Microsoft IME", this problem does not occur. So it seems to be caused by some issue with the image editor and using the "new" version of Microsoft IME.

Expected behavior The typed Japanese text should be on the image and not duplicated.

Actual behavior The typed Japanese text is duplicated.

Screenshots Image-editor _ TOAST UI __ Make Your Web Delicious! and 2 more pages - Personal - Microsoft_ Edge 2023-05-31 16-18-13

Desktop:

Additional context It doesn't happen on Mac.