react-component / textarea

React Textarea
MIT License
26 stars 35 forks source link

Inconsistent use of accents in Safari #16

Open rayronvictor opened 2 years ago

rayronvictor commented 2 years ago

Sometimes I can't use accents when using Safari with autoSize.

Expected behavior (Chrome):

https://user-images.githubusercontent.com/1683922/167869861-8865bc57-7071-406e-bd7f-981ca43a5f19.mov

Using Safari 15.4 on macOS 12.3:

https://user-images.githubusercontent.com/1683922/167870108-a0ffa235-55aa-4982-aa15-82a1ce068d67.mov

blacktail commented 2 years ago

I encountered this issue in Safari & wechat pc browser(mac), Reproduce step:

  1. input some Chinese characters with pinyin IME.
  2. press Enter key and continue to input on the next line
  3. go back to the end of the previous line
  4. Now, can only input english characters