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

character added again on clicking on backspace on touch screen #830

Open
dash-ravikhoda opened this issue Nov 18, 2024 · 1 comment
Open

Comments

@dash-ravikhoda
Copy link

Hello,

First of all, thank you very much for creating this wonderful tool.

Recently, we have integrated this tool in our application and we have found one issue that if on touch screen, if we click on backspace key multiple times very fast it deletes the last character and add it again. We are using the below code to initialize the keyboard.

$("input[type='text']").keyboard({ autoaccept: true, caretToEnd: true, maxLength: 20, beforeVisible: function (e, keyboard, el) { var inModal = $(el).parents('.modal').length > 0; if (inModal) { keyboard.$keyboard.appendTo($(el).parents('.modal-content')); } } });

@dash-ravikhoda
Copy link
Author

@Mottie Can you please provide some update on this when you get a chance?

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

1 participant