react-input-autosize
react-input-autosize copied to clipboard
[bug] input autosize not working with decimals and comma
Steps to reproduce:
- build modified example:
npm run build-examples
- type test value like:
123456789
=> working - type decimal value with comma as the separator, so:
1337,49
for example => not working
Browser: Safari 15.1 OS: MacOS Monterey
Screenshots:
Changed example code to reproduce this: https://github.com/JedWatson/react-input-autosize/pull/185
Tested on Chrome OS and bug is not appeared. So it's seems to be about Safari.