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

[SF][Input]: Input box behave incorrectly when using non-english language in Safari

Open tandan0813 opened this issue 4 years ago • 5 comments

Describe the bug When using Safari browser and using non-english language such as Chinese or Japanese, the input box behaves incorrectly. It will keep the letters that have already been made into words.

To Reproduce Steps to reproduce the behavior:

  1. Go to Safari browser
  2. Use non-english input method
  3. Type something into input box
  4. See error

Screenshots image

UI5 Web Components for React Information @ui5/webcomponents version: 1.7.1 @ui5/webcomponents-react version: 0.28.2 Operating System: Browser: Safari

tandan0813 avatar Sep 22 '22 03:09 tandan0813

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

Lukas742 avatar Sep 22 '22 07:09 Lukas742

Hi @tandan0813 , unfortunately, I cannot reproduce the issue that you are describing. Can you, please, provide a snippet with the usage of ui5-input component, that triggers the problem. Also if the issue is visible only in Safari, are you using some plugins like auto-corrector, that can be causing it? Thank you!

Best regards, Petya Markova. (UI5 Web Components Dispatcher)

PetyaMarkovaBogdanova avatar Sep 23 '22 13:09 PetyaMarkovaBogdanova

No, i didn't use any plugins and i just tried the following Input examples in Safari, it behaves the same. https://sap.github.io/ui5-webcomponents-react/?path=/docs/inputs-input--default-story

2022-09-26_10-28-31 (1)

tandan0813 avatar Sep 26 '22 02:09 tandan0813

I could reproduce this issue:

  1. Added Chinese as an input language to macOS
  2. On each input element, type "a" then press Space.

https://codesandbox.io/s/ui5-webcomponents-forked-bd5q2o?file=/index.html

https://user-images.githubusercontent.com/22086365/192829450-4e95b965-24b0-4e2e-b56c-b05a7fc65df0.mov

georgimkv avatar Sep 28 '22 16:09 georgimkv

FYI @SAP/ui5-webcomponents-topic-rl

georgimkv avatar Sep 28 '22 16:09 georgimkv