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

fix: incorrect autofill and input focus behavoir on ios #82

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

al-awsdev4
Copy link

No description provided.

@al-awsdev4 al-awsdev4 requested a review from a team as a code owner January 27, 2021 10:36
@crookedneighbor
Copy link
Contributor

Can you please provide a description of what is happening on ios safari?

@al-awsdev4
Copy link
Author

al-awsdev4 commented Jan 28, 2021

Can you please provide a description of what is happening on ios safari?

I tested this braintree example https://codepen.io/braintree/pen/zeamxM that using restricted-input package for expiration date, I'm doing next steps to reproduce:

  1. touch expiration date field and enter numbers "222" (so they appear as "02 / 22")
  2. touch credit card number field and autofill with saved card number
  3. touch expiration date field again
  4. touch card number field
  5. finally touch expiration date and it become "00 / 222"

@crookedneighbor
Copy link
Contributor

I'm not sure yet, but I think this is more likely an issue with the hosted fields code (which handles autofilling behavior accross the iframes) in the Braintree SDK rather than restricted input. I'll do a little investigating to be certain.

@crookedneighbor crookedneighbor changed the base branch from master to main May 25, 2021 15:56
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

Successfully merging this pull request may close these issues.

None yet

2 participants