Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input freezes after changing decimal value symbol twice #2731

Open
Pomierski opened this issue Aug 16, 2023 · 6 comments
Open

Input freezes after changing decimal value symbol twice #2731

Pomierski opened this issue Aug 16, 2023 · 6 comments
Assignees
Labels
Milestone

Comments

@Pomierski
Copy link

  • 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
@embargiel
Copy link

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

@RobinHerbots RobinHerbots self-assigned this May 7, 2024
@RobinHerbots RobinHerbots added this to the 5.0.9 milestone May 7, 2024
@RobinHerbots RobinHerbots pinned this issue May 7, 2024
@RobinHerbots
Copy link
Owner

@embargiel ,

I will look into it.

@RobinHerbots
Copy link
Owner

RobinHerbots commented May 8, 2024

Can you provide some more info how to reproduce.

@Pomierski
Copy link
Author

@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
2024-05-08.08-54-30.mp4

@skrasnoyarov
Copy link

@RobinHerbots Hi, I also noticed that when entering a large number of digits after the decimal point, the text field starts to lag terribly

@RobinHerbots
Copy link
Owner

@skrasnoyarov,

The lag should be fixed with the latest beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants