flutter_stripe
flutter_stripe copied to clipboard
Layout inconsistency in iOS Dark mode
Describe the bug Payment Sheet has extra dark space at the bottom in device dark mode
To Reproduce Steps to reproduce the behavior:
- Go to iPhone Settings > Display & Brightness > APPEARANCE
- Change appearance from Light to Dark
- Observe a black space at the bottom
Expected behavior Payment Sheet view should be the same on both device modes
Smartphone / tablet
- Device: iPhone 12
- OS: iOS 15.1
- Package version: 2.0.1
- Flutter version: 2.5.3
This is also looks like it is fixed in the newest version of the sync with the native Stripe SDK cannot reproduce it anymore there.
fixed in version 2.0.2
@remonh87 Unfortunately, we are still facing this problem in version 2.0.2. It's not fixed.
I see the issue I will raise a ticket on Stripe SDK, As workaround when you set the ThemeMode to system
everything behaves perfectly.
waiting for ticket: https://github.com/stripe/stripe-react-native/issues/709
@remonh87 I have the same problem, and it hasn't been fixed (flutter_stripe: ^2.0.2)
@aryanbm we are waiting for stripe to fix it there is nothing on our side that we can do about it.
This is solved in version https://pub.dev/packages/flutter_stripe/changelog#310 where you can style the paymentsheet.