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

Not working in Android devices #252

Open
ademir10 opened this issue May 29, 2018 · 3 comments
Open

Not working in Android devices #252

ademir10 opened this issue May 29, 2018 · 3 comments

Comments

@ademir10
Copy link

Hello! do you know what can i do to makes it work with chrome in android devices?
Everything is workin fine in Pc's, IOS with chrome or safari, but when i try to use in Android devices with chrome nothing happens.
I'm using: jquery-maskmoney - v3.1.1
There is any way to fix it? thanks!

@alexnovelli
Copy link

Same problem here. Some help please?

@alexnovelli
Copy link

alexnovelli commented Jun 5, 2018

I find the solution in this issue:
#203

The solution was provided by the user @abdulmhamid

"I was able to solve it with this. It mimics the keypress function and I placed it right before the keydown function."

$input.on('keyup', function (e) {
e = e || window.event;
var key = e.which || e.charCode || e.keyCode,
keyPressedChar,
selection,
startPos,
endPos,
value;
selection = getInputSelection();
startPos = selection.start;
maskAndPosition(startPos + 1);
});

@wallisonfelipe
Copy link

any update?

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

3 participants