-
Notifications
You must be signed in to change notification settings - Fork 156
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
iOS class="cc-number" #161
iOS class="cc-number" #161
Comments
Not that I am aware of but don't you have to hit "Done" link on the keyboard numeric input in IOS to close it and move on? |
when i hit "done", the keyboard disappears but the card number is still highlighted in yellow and when i try to click a different field, it just brings me back to the card number |
Let me see if I can reproduce it. |
When I try it here on my iPhone it works... https://www.primefaces.org/showcase-ext/sections/creditcard/basicUsage.jsf |
the way it works on that links is different from the documentation on the input box for the card number I have class="cc-number". this seems to be what is causing the problem |
|
ahh yeah i am mapping it differently there. |
I'm having the same problem in Safari on desktop and mobile. This began after updating from |
The only real change was this one... |
@melloware I'm wondering if it's this line that's causing the problem v2.4.3...2.4.4#diff-eb104090800eb03c1ec3715392f75ea5d853e3c0252a204f165c0638c09e4e7dR735 When 'blur' happens, reFormatCardNumber is causing the field to focus again. |
That is definitely the problem. I would stay on 2.4.3 for now. |
I wonder if instead of
|
this seems to work on iOS and on Chrome on desktop QJ.on(el, 'keyup', reFormatCardNumber); |
Can you please review my PR? |
@melloware |
My issue is in Card Number Can't Be Blur In IOS When Input Card Numbers jessepollak/card#527 |
OK I just deployed Payment 2.4.5 to NPM https://www.npmjs.com/package/payment Can you try again? |
@jessepollak it looks like all PR's are being blocked because the build is no longer running. Can you disable that check so I can merge PR's? |
i am using version 2.4.4 of your library.
the form has the novalidate
the page will not move away from focus of the credit card number on iOS 14.6
Have i missed something in the documentation?
The text was updated successfully, but these errors were encountered: