ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

Input: Error typing(Cannot type Chinese in Input) while using IME( input method editor) for Chinese

Open rkl1994 opened this issue 5 years ago • 6 comments

Describe the bug While using the Input components for typing Chinese words(or other words using IME such as Japanese or Korean), the behavior becomes weird in Safari, but it works fine in Chrome.

Isolated Example *Please provide an isolated example if possible: Here is the link Please try it both in Çhrome and Safari. Chrome works well, but Safari not.

This is snapshot for Chrome chrome-input

This is snapshot for Safari safari-input

UI5 Web Components for React Information @ui5/webcomponents version: 1.0.0-rc.11 @ui5/webcomponents-react version: 0.13.4 Browser: Chrome: Version 88.0.4324.150 Safari: Version 14.0.2 (15610.3.7.1.10, 15610)

Additional context I found some related information from React official, maybe useful: Here is the link

rkl1994 avatar Feb 08 '21 07:02 rkl1994

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

MarcusNotheis avatar Feb 08 '21 10:02 MarcusNotheis

Note for the UI5 Web Components issue dispatchers: see if it is connected or the same as https://github.com/SAP/ui5-webcomponents/issues/2632

ilhan007 avatar Feb 08 '21 10:02 ilhan007

We are also facing the same issue as mentioned in #2632 when typing in English. However, in my case, besides what mentioned, we also face the problem that IME(for Chinese input) cannot be triggered.(maybe the root reason are the same, I'm not sure...) Like the GIF show in the second picture.

rkl1994 avatar Feb 08 '21 11:02 rkl1994

Hello @SAP/ui5-webcomponents-topic-rl , I am forwarding this issue to you, as it seems there is a problem with the Input web component, when trying to write Chinese (Japanese too), using MS-IME. I have tested with Saucelabs on Safari and I cannot even see what I am typing in the Input. Chinese words suggestions appear but they are not populated in the Input. Suggestions are also shifted a little down. For a comparison - if you test on Chrome, you will see that suggestions appear and on space key press the word is chosen and populated in the Input. When testing, make sure you are in Chinese mode.

Regards, Iliana

IlianaB avatar Feb 08 '21 12:02 IlianaB

There is a backlog item for this.

Martotko avatar Feb 09 '21 17:02 Martotko

Dear @rkl1994

Could you please retest and see if the issue has been fixed? I did not manage to reproduce it on the latest Safari.

Regards, Martin

MapTo0 avatar Mar 14 '22 14:03 MapTo0