Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

Input freezes after changing decimal value symbol twice

Open Pomierski opened this issue 2 years ago • 5 comments

  • 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

Pomierski avatar Aug 16 '23 12:08 Pomierski

@RobinHerbots Can I ask for a response here? This is very problematic for our project and also occurs in the latest beta

embargiel avatar May 07 '24 07:05 embargiel

@embargiel ,

I will look into it.

RobinHerbots avatar May 07 '24 18:05 RobinHerbots

Can you provide some more info how to reproduce.

RobinHerbots avatar May 08 '24 06:05 RobinHerbots

@RobinHerbots

  1. Go to https://robinherbots.github.io/Inputmask/#/demo
  2. In "Decimal" input type , 5 - - -. It should be -0,5
  3. Try to change value

https://github.com/RobinHerbots/Inputmask/assets/70658299/2f40b946-278a-4a14-9570-b3633910fbf9

Pomierski avatar May 08 '24 06:05 Pomierski

@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 avatar May 08 '24 08:05 skrasnoyarov

@skrasnoyarov,

The lag should be fixed with the latest beta

RobinHerbots avatar May 22 '24 15:05 RobinHerbots

@Pomierski ,

The latest beta 71 should fix the issue.

RobinHerbots avatar May 29 '24 14:05 RobinHerbots