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

Keyboard inaccessible #297

Closed
2 tasks
drakedeatonuk opened this issue Jun 26, 2023 · 5 comments
Closed
2 tasks

Keyboard inaccessible #297

drakedeatonuk opened this issue Jun 26, 2023 · 5 comments

Comments

@drakedeatonuk
Copy link

drakedeatonuk commented Jun 26, 2023

Platform

  • Web
  • [*] iOS
  • Android

Describe the bug
When calling Stripe.createPaymentSheet & Stripe.presentPaymentSheet, 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 the video below).

Interestingly, if I do not click on the country selection picker at all, then when I click on the "Postal Code"/"Zip Code" input, the keyboard will stay open (this is demoed at the end of the video below).

To Reproduce
Steps to reproduce the behavior:

  1. Open the Stripe.createPaymentSheet & Stripe.presentPaymentSheet modal
  2. Select a country (United Kingdom or United States)
  3. Click the "Postal Code"/"Zip Code" input
  4. See error: you'll see that the keyboard closes and wont open again.

Expected behavior
The keyboard should be open when the user clicks directly on this input after setting a country.

Screenshots
The issue can be seen below:
https://github.com/capacitor-community/stripe/assets/41165256/d34218bb-c00d-4d87-a9dd-8666871209fb

Usage Product
I'm using the latest version - 5.0.1

@rdlabo
Copy link
Member

rdlabo commented Aug 16, 2023

Thanks for the report. This is an issue with the Stripe iOS SDK, not the plugin.

https://github.com/stripe/stripe-ios

Please report it here.

@drakedeatonuk
Copy link
Author

drakedeatonuk commented Oct 12, 2023

@rdlabo I raised this as an issue on the stripe-ios repo here: stripe/stripe-ios#2936 (comment)

A fix for this went in on the latest release - any chance of getting this lib's dependency bumped to support the fix?

@rdlabo
Copy link
Member

rdlabo commented Oct 14, 2023

@drakedeatonuk I appreciate your excellent contribution and look forward to your continued support. The package including this will be released today as v5.3.0.

@rdlabo
Copy link
Member

rdlabo commented Oct 14, 2023

@drakedeatonuk
Copy link
Author

hi @rdlabo - I've tested this with the update and can confirm that the bug has been fixed now. Thanks very much your help & for this very useful library :) 🙏

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

No branches or pull requests

2 participants