Input freezes after changing decimal value symbol twice
- Describe the bug If we enter decimal value and change symbol twice using minus key, input freezes until we change our cursor position or select whole value. It's not possible to add or delete numbers.
- Add a link to a codepen, jsfiddle or other example page which shows the problem https://robinherbots.github.io/Inputmask/#/demo (decimal)
- OS: Ubuntu 22.04.2 LTS
- Browser: Chrome 115.0.5790.110
- Inputmask version: v5.0.8
@RobinHerbots Can I ask for a response here? This is very problematic for our project and also occurs in the latest beta
@embargiel ,
I will look into it.
Can you provide some more info how to reproduce.
@RobinHerbots
- Go to https://robinherbots.github.io/Inputmask/#/demo
- In "Decimal" input type
, 5 - - -. It should be -0,5 - Try to change value
https://github.com/RobinHerbots/Inputmask/assets/70658299/2f40b946-278a-4a14-9570-b3633910fbf9
@RobinHerbots Hi, I also noticed that when entering a large number of digits after the decimal point, the text field starts to lag terribly
@skrasnoyarov,
The lag should be fixed with the latest beta
@Pomierski ,
The latest beta 71 should fix the issue.