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

Using backspace is prone to unexpected behavior #15

Closed
fmaclen opened this issue Sep 16, 2022 · 1 comment
Closed

Using backspace is prone to unexpected behavior #15

fmaclen opened this issue Sep 16, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@fmaclen
Copy link
Owner

fmaclen commented Sep 16, 2022

Using backspace it works fine as the user clears digits but when it clears a decimal point the formatting gets triggered immediately and the decimal point is removed automatically which causes the user to possibly accidentally remove an extra digit.

Approaches to try:

  • Prevent formatting when using backspace altogether
  • Add debouncing

Related to #13

@fmaclen fmaclen added the bug Something isn't working label Sep 16, 2022
@fmaclen
Copy link
Owner Author

fmaclen commented Sep 17, 2022

This is probably was widely improved by #2, there may still be some funky behavior for some edge cases in which case a new issue should be opened with specifics.

@fmaclen fmaclen closed this as completed Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant