-
Notifications
You must be signed in to change notification settings - Fork 81
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
Credit Card field issues on Android #21
Comments
Bummer! Thanks for the report. Would also appreciate any troubleshooting attempts since you may be closer to the problem. |
So I wrote some logic in my own application to basically just drop formatting on android devices. Kind of a bummer but the formatting isn't the most important part. Plus I would rather have my users enter their card numbers correctly instead of them getting entered backwards and weird things happening with that. With my basic search online I found it to be a big problem. It seems setting the caret position inside of inputs on android has been an issue for a while. Here are related issues on other repos that are similar: Need to dig further into their solutions if any of them had a resolution. Needs more research. |
This might not be the same exact issue as I ran into, but see my commit on my fork which solved my issue where the caret positioning wasn't working on Chrome on Android on a Samsung phone. |
In case anyone is looking for a quick fix - changing the input to |
Is that true @joe4mg I would be interested to test that out |
@joe4mg I tried with input type="tel", it does fixes the issue for me. |
On Android is seems that the caret is reset to the beginning of the input when typing and it makes the credit card number enter backwards into the input. Here is the information that I have so far on the issue:
This also happens in the web view inside of apps on android. Has anyone else seen the issues of this? Is there a way we could detect that it won't work and abort payform on these devices that don't support it.
Thanks to everyone that contributes to this library it is awesome!
The text was updated successfully, but these errors were encountered: