Describe the bug Safari only. With buttonType="plain" the style min-width=240px is applied during button's initial render, even though it seems this min-width is relevant only to pay button type.
To Reproduce
I'm not able to reproduce on Customize your button. It seems selection of button type in dropdown rerenders button and there is no min-width.
See Google Pay button that is outside of the wrapping container. Sometimes it is not reproducible from first attempt. Also, please try different window sizes. Although there is a container which sets width, style min-width:240px is present in Google Pay button.
Expected behavior
Google Pay button fits into the outer container.
Describe the bug
Safari only. With
buttonType="plain"
the stylemin-width=240px
is applied during button's initial render, even though it seems thismin-width
is relevant only topay
button type.To Reproduce
I'm not able to reproduce on Customize your button. It seems selection of button type in dropdown rerenders button and there is no
min-width
.Steps to reproduce:
container
which setswidth
, stylemin-width:240px
is present in Google Paybutton
.Expected behavior
Google Pay button fits into the outer container.
Screenshots
Component information:
@google-pay/button-react
)@google-pay/button-element
)@google-pay/button-angular
)Environment: