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

[BUG] Keyboard inaccessible on clicking "Postal Code"/"Zip Code" input when UK is selected in "country" input #2936

Closed
drakedeatonuk opened this issue Sep 16, 2023 · 3 comments
Assignees
Labels

Comments

@drakedeatonuk
Copy link

drakedeatonuk commented Sep 16, 2023

Summary

When selecting a country from the country selection picker, if I click directly onto the "Postal Code"/"Zip Code" input beneath of this, then the keyboard closes and it wont reopen until I change back to the previous input and reselect the "Postal Code"/"Zip Code" input again (this is demoed in a video below).

Note this does not happen if the country is set to the USA, but will happen if it's set to the UK... So I believe there may be some confusion happening with the keypad (which can be shown for the US), and the keyboard (which needs to be shown for the UK).

Please see this video for a demonstration: https://github.com/stripe/stripe-ios/assets/41165256/77429fba-77f5-4388-b655-8eb33e319d90

To reproduce exactly what this video shows:

  1. Select the country as United Kingdom
  2. Click the "Postal Code"/"Zip Code" input
    See error: you'll see that the keyboard closes and wont open again until you click on another input and re-click on the "Postal Code"/"Zip Code" input

I would expect that the keyboard should be open when the user clicks directly on this input after setting a country.

Code to reproduce

RPReplay_Final1687612776.MP4

iOS version

Latest

Installation method

via the capacitor-community/stripe library... I first reported this issue on that repo, which can be seen here: capacitor-community/stripe#297

SDK version

23.4.0

@drakedeatonuk drakedeatonuk changed the title [BUG] [BUG] Keyboard inaccessible on clicking "Postal Code"/"Zip Code" input when UK is selected in "country" input Sep 16, 2023
@porter-stripe porter-stripe self-assigned this Oct 2, 2023
@porter-stripe
Copy link
Collaborator

@drakedeatonuk thanks for reporting this, a fix will be included in the next release!

@drakedeatonuk
Copy link
Author

Thank you sir! That's great news 🙏 very much appreciated 😊

@porter-stripe
Copy link
Collaborator

Fixed in the latest release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants