react-stripe-js
react-stripe-js copied to clipboard
[BUG]: ExpressCheckoutElement Inconsistent Row Rendering
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
But if I change buttonType
from book
to plain
, it renders on two rows. I would expect this to still render in one row.
Environment
Safari & Chrome
Reproduction
No response