You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When customizing the payment sheet with the "appearance" property, and you add a large border radius for the "primary button", you get a really extreme border radius. If you set a really large value the whole button disappears.
It seems to me that it happens when you set a border radius larger than half the buttons height.
This is only happening on iOS, not on Android
To Reproduce
Steps to reproduce the behavior:
Call initPaymentSheet
Provide the appearance property and set primaryButton.shapes.borderRadius to something like "99"
See the button in the payment sheet looking broken
Expected behavior
I expect the border radius to work as all other places in React Native. Giving a huge border radius (like 99999) should apply a radius that rounds of the corners to a circle, not anything beyond that.
Screenshots
Smartphone (please complete the following information):
Device: iPhone 15
OS: iOS
Version: 0.38.6
The text was updated successfully, but these errors were encountered:
Describe the bug
When customizing the payment sheet with the "appearance" property, and you add a large border radius for the "primary button", you get a really extreme border radius. If you set a really large value the whole button disappears.
It seems to me that it happens when you set a border radius larger than half the buttons height.
This is only happening on iOS, not on Android
To Reproduce
Steps to reproduce the behavior:
initPaymentSheet
appearance
property and setprimaryButton.shapes.borderRadius
to something like "99"Expected behavior
I expect the border radius to work as all other places in React Native. Giving a huge border radius (like 99999) should apply a radius that rounds of the corners to a circle, not anything beyond that.
Screenshots
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: