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

PlatformPayButton for android doesn't expand to requested height #1810

Open
acatalina opened this issue Jan 16, 2025 · 0 comments
Open

PlatformPayButton for android doesn't expand to requested height #1810

acatalina opened this issue Jan 16, 2025 · 0 comments

Comments

@acatalina
Copy link

acatalina commented Jan 16, 2025

Describe the bug
The PlatformPayButton in android doesn't adjust to requested height

To Reproduce

<PlatformPayButton
      type={PlatformPay.ButtonType.Pay}
      style={{
        width: '100%',
        backgroundColor: 'red',
        height: 62,
      }}
    />

Expected behavior
The button to fill the height requested

Screenshots

Smartphone (please complete the following information):

  • Device: Google Pixel 7 Pro
  • OS: Android 15

Additional context
react-native: 0.72.17
@stripe/stripe-react-native: 0.41.0

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

1 participant