-
Notifications
You must be signed in to change notification settings - Fork 229
Rocket.Chat 3.0.12 Livechat issue about Korean IME #403
Comments
@chojunki 라이브쳇 문제없이 되시나요? IE나 Firefox에서.. |
With Rocket.Chat 3.0.12, livechat doesn’t work with IE11. I don’t use firefox so I cannot say if it works or not with firefox. |
I am wondering if you are Korean... |
This issue can be consistently reproduced on Japanese too. Here is a GIF image to demonstrate the issue: As you can see the first characters, ones without underline, are decided as soon as you input them and cannot be included for conversion. The first characters are fixed at the same time when the paper plane icon on the right side appears. FWIW this issue is only reproduced on livechat's input box, not other input boxes as far as I know. |
|
@renatobecker FWIW the issue can be avoided by replacing The paper plane icon to send a message stops appearing with that, so another modification would be required. -- The issue does not happen on input forms on the registration as they are created with the regular |
The issue is reproduced on Chinese IME too. The issue is common among CJK environment. Steps to reproduce the issue:
Expected result: Actual result: |
I found a temporary fix for this by removing the onchange event of the div composer__input__ubV5B. But this stop the showing of the send icon but it is still fine by pressing enter to send message. Seems this bug is similar to this react issue https://github.com/facebook/react/issues/3926 |
Description:
When you type in some messages in Korean through livechat windows, the Content get corrupted.
Steps to reproduce:
Open livechat on a Korean IME enabled PC with New Edge or Chrome browser. Then It will look like this:
![1](https://user-images.githubusercontent.com/24218869/78880151-ee96e580-7a8f-11ea-8dfd-7184d1cffed3.png)
Type any messages in Korean in the field showing 'Type your message here'
At first keystroke, the 'Type your message here' will disappear but IME will stop composing keystrokes to assemble a syllable like thks:
![2](https://user-images.githubusercontent.com/24218869/78880334-36b60800-7a90-11ea-8139-06aff5a3c42e.png)
After this, The text will be entered normally.
Expected behavior:
At first keystroke, the 'Type your message here' should disappear and keystroke composion must go normally.
Actual behavior:
The only first keystroke that makes 'Type your message here' only removes the message and keystroke composition feature just breaks up.
I think this is because of the IME characteristics related with onKeyDown, onKeyUp and onKeyPress event. I found that I should not use onKeyUp event with Korean IME because that event will break up character composition feature of Korean IME.
Server Setup Information:
This is just a client issue.
Client Setup Information
Additional context
Relevant logs:
The text was updated successfully, but these errors were encountered: