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

[BUG]: ExpressCheckoutElement Inconsistent Row Rendering #534

Open
StevenGlrz opened this issue Oct 9, 2024 · 1 comment
Open

[BUG]: ExpressCheckoutElement Inconsistent Row Rendering #534

StevenGlrz opened this issue Oct 9, 2024 · 1 comment
Labels
bug Something isn't working stale

Comments

@StevenGlrz
Copy link

What happened?

I have the following

<ExpressCheckoutElement
      options={{
          layout: {
              overflow: "never",
              maxColumns: 0,
          },
          buttonType: {
              applePay: "book",
              googlePay: "book"
          },
          buttonHeight: 40,
          paymentMethods: {
              applePay: "always",
              googlePay: "always",
              link: "never"
          }
      }}
/>

which renders apple pay and google pay buttons in one row as expected

Screenshot 2024-10-08 at 11 59 26 PM

But if I change buttonType from book to plain, it renders on two rows. I would expect this to still render in one row.

Screenshot 2024-10-09 at 12 00 18 AM

Environment

Safari & Chrome

Reproduction

No response

@StevenGlrz StevenGlrz added the bug Something isn't working label Oct 9, 2024
Copy link

stale bot commented Nov 5, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

1 participant