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 one position right and come back to start position #2781

Open
maneeshek opened this issue Mar 21, 2024 · 4 comments
Open

Cursor jumps one position right and come back to start position #2781

maneeshek opened this issue Mar 21, 2024 · 4 comments

Comments

@maneeshek
Copy link

  • Describe the bug - Cursor jumps one position right and come back to start position on clicking inside the input field. when place hpolder is set to space(" ")
  • Add a link to a codepen, jsfiddle or other example page which shows the problem
  • OS: Windows
  • Browser - Chrome
  • Inputmask version - 5.0.8 beta.24
@RobinHerbots
Copy link
Owner

@maneeshek ,

Can you first try with the latest beta and provide some more info about the mask and options you use.

@maneeshek
Copy link
Author

Hi Robin,
I updated to the latest version but issue still exists. The place holder value is empty (placeholder:""). When you click/double click inside the text box, the cursor jumps one position right and then returns to previous position. I want the placeholder to be empty also.

@RobinHerbots
Copy link
Owner

@maneeshek ,

Can you provide me mask and options used?

@RobinHerbots RobinHerbots reopened this Apr 24, 2024
@maneeshek
Copy link
Author

$("#creditcardnumber").inputmask("9999 9999 9999 999", {"placeholder":"", autoUnmask: true});

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

No branches or pull requests

2 participants