flutter_stripe icon indicating copy to clipboard operation
flutter_stripe copied to clipboard

Expiration/zip code fields are outside input field

Open garrettApproachableGeek opened this issue 2 years ago • 3 comments

Describe the bug Unable to view the contents of the expiration and zip code fields when using the CardFormField on iOS. Issue only occurs with application that has been installed using TestFlight. Running locally in release mode does not have the same behavior.

To Reproduce Steps to reproduce the behavior:

  1. Release the app to TestFlight
  2. Render CardFormField on iOS

Widget usage:

CardFormField(
     style: CardFormStyle(
       textColor: AppColors.black,
       placeholderColor: AppColors.lightGray,
       backgroundColor:
           isDarkMode ? AppColors.darkGray : AppColors.transparent,
     ),
     onCardChanged: (CardFieldInputDetails? details) {
       state.cardDetails = details;
     },
)

Expected behavior All input field placeholders and entered text is visible

Smartphone / tablet

  • Device: [iPhone SE Gen 2]
  • OS: [iOS 15.6]
  • Package version: [9.6.0]
  • Flutter version [3.16.3] And
  • Device: [iPhone 15]
  • OS: [iOS 17.1.2]
  • Package version: [9.6.0]
  • Flutter version [3.16.3]

garrettApproachableGeek avatar Dec 18 '23 22:12 garrettApproachableGeek

Is your Flutter version installed locally any different to the Flutter version you used to build the release by any chance?

jonasbark avatar Dec 19 '23 09:12 jonasbark

3.16.3 is used locally and for building the release

garrettApproachableGeek avatar Dec 19 '23 15:12 garrettApproachableGeek

I'm facing the same issue!

SaloniSS avatar Jan 22 '24 21:01 SaloniSS