[Apple iOS] Expiration Date Field Loses Focus
-
Problem description:
On iOS Safari/Chrome [Apple devices such as iPhone], the Braintree WooCommerce credit card form won’t let you refocus the Expiration Date field after you’ve moved to the CVV. When you tap the Expiration Date again, focus instantly jumps back to CVV, so you can’t enter or correct the date.
iPhone
(issue occurs)
Android
(works correctly)
Desktop (Mac / Windows)
(works correctly)
Video recording of the problem:
https://drive.google.com/file/d/1hHXKboLQAHn52SdiODfsG5ERPuxR3GZU/view?usp=sharingSteps to reproduce:
- Open checkout on an iPhone
- Start entering card details
- Focus correctly moves to the expiration date field
- User enters the expiration date
- User moves focus to the CVV field
- User attempts to return to the expiration date field
- Focus cannot be placed back on the expiration date field; it always jumps to CVV
Additional observations:
- The expiration date field works only the first time
- The issue appears after the field loses focus
- This behavior is consistent across multiple shops and configurations
- We tested different plugin versions with the same result
- This seems related to iOS WebKit focus handling in iframes / Hosted Fields
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.