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

Cursor jumps to the end of the input when editing the number #212

Open
phobetron opened this issue Nov 14, 2023 · 3 comments
Open

Cursor jumps to the end of the input when editing the number #212

phobetron opened this issue Nov 14, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@phobetron
Copy link

Steps to reproduce:

  • Have a number in the field, either pre-filled or manually entered
  • Place the cursor near the digit you want to delete, and delete it
  • Place the cursor where you want to insert a new digit, and insert it

Expected result:

  • On deletion, the cursor should remain to the right of the digit before the one that was deleted
  • On insertion, the cursor should be placed immediately to the right of the inserted digit

Actual result:

  • Under every scenario, the cursor jumps to the end
Screen.Recording.2023-11-14.at.10.35.34.AM.mov
@gyurielf
Copy link
Owner

Hey!

Thanks for the detailed issue.

A big update is coming soon with lots of improvement.
So I'll fix in that. (or you can drop a PR if you can :) )

@gyurielf gyurielf added the bug Something isn't working label Nov 14, 2023
@reinoute
Copy link

@gyurielf any news about this update?

This library looks great and I would like to use it, but this bug is stopping me from using it.

@gyurielf
Copy link
Owner

@gyurielf any news about this update?

This library looks great and I would like to use it, but this bug is stopping me from using it.

Well, I'm working on 4.0, which fixes this.
For now, I don't have enough time to fix this in 3.x.

BR,
G.

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

3 participants