nadbm / react-datasheet

Excel-like data grid (table) component for React
https://nadbm.github.io/react-datasheet/
MIT License
5.39k stars 456 forks source link

Japanese text input not working correctly #274

Open andreas-ku opened 3 years ago

andreas-ku commented 3 years ago

Hi,

I noticed that the datasheet is not handling Japanese input correctly on Mac (both in Firefox and Chrome). Have not tested for other operating systems Screenshot 2021-03-29 at 22 22 48

To reproduce

  1. Go to system preferences > language & region > Keyboard preferences
  2. Click on "+"
  3. Add "Japanese - Romaji"
  4. Choose "Hiragana" as input source in the top bar
  5. Go to https://nadbm.github.io/react-datasheet/
  6. Click on a cell
  7. Press the letters "k" and "o"

Expected

Should show the Japanese Character "こ"

Actual Result

Shows "kお"

greenaaaa commented 1 year ago

Hi @nadbm Click to input Chinese, which can also be reproduced. Could you please take a look?