JedWatson / react-input-autosize

Auto-resizing input field for React
https://jedwatson.github.io/react-input-autosize
MIT License
769 stars 178 forks source link

[bug] input autosize not working with decimals and comma #186

Open landsman opened 2 years ago

landsman commented 2 years ago

Steps to reproduce:

  1. build modified example: npm run build-examples
  2. type test value like: 123456789 => working
  3. type decimal value with comma as the separator, so: 1337,49 for example => not working

Browser: Safari 15.1 OS: MacOS Monterey


Screenshots:

Screenshot 2021-12-03 at 16 47 27

Screenshot 2021-12-03 at 16 48 08


Changed example code to reproduce this: https://github.com/JedWatson/react-input-autosize/pull/185

landsman commented 2 years ago

Tested on Chrome OS and bug is not appeared. So it's seems to be about Safari.