stripe-react-native
stripe-react-native copied to clipboard
Is there a max height for CardForm?
Hello!
I've been playing around with style for a bit on CardForm and it seems like it has a max height that it won't go over. Seems to be around 175 on iOS and 275 on Android. Doesn't seem to change if I change the width. If I add a background color to style, I can see that height seems to mostly be changing something behind the card, while still having some effect on the card itself. While I would like the card to be taller on certain screen sizes, it works ok. Just clarifying I didn't miss something. It is wrapped by some Views that have flex: 1 and flex: 3 set but even when I take those away, the height won't increase visually beyond these numbers.
Below are some screen shots. As you can see, the style attribute makes the pink background grow and the card itself grows with it, but only up to about 175:
Height of 100 on iOS
Height of 175 on iOS
Height of 200 on iOS

As a related question, would it be possible to do something like this with PaymentSheet? I couldn't tell from the documentation.

Many thanks for any insight!
Any update on this ?