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

STPPaymentCardTextField postal code entry issue in Russian locale #1600

Closed
lauri-koli opened this issue Jul 6, 2020 · 5 comments
Closed
Labels
kind:bug triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@lauri-koli
Copy link

Summary

The STPPaymentCardTextField postal code entry behaves erroneously when the app is set to Russian language. After entering the CVC focus moves to the postal postal code field but the field is out of bounds of the STPPaymentCardTextField. The issue does not appear when using short placeholder for CVC field instead of the default.

Here's a link to a video which shows the incorrect behaviour.

Code to reproduce

A STPPaymentCardTextField with default configuration except having postal code entry enabled.

let field = STPPaymentCardTextField()
field.postalCodeEntryEnabled = true
...

iOS version

Tested iOS 13.5.x.

Installation method

CocoaPods

SDK version

Tested on SDK versions 19.2.0 and 19.3.0.

@yuki-stripe yuki-stripe added kind:bug triaged Issue has been reviewed by Stripe and is being tracked internally labels Jul 6, 2020
@yuki-stripe
Copy link
Collaborator

Hi @lauri-koli-vincit,

Thank you for reporting this bug! We're tracking this internally.

@lauri-koli
Copy link
Author

Hi @yuki-stripe,

Any update on this?

@davidme-stripe
Copy link
Contributor

This was fixed in 21.2.1.

@davidme-stripe
Copy link
Contributor

Update: Sorry, but this didn't actually land in 21.2.1! We'll land it in the next update.

@davidme-stripe
Copy link
Contributor

davidme-stripe commented May 7, 2021

This was fixed (for real!) in 21.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug triaged Issue has been reviewed by Stripe and is being tracked internally
Projects
None yet
Development

No branches or pull requests

3 participants