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
Setting borderRadius on RectButton does not actually round the corners. Current workaround is to wrap a RectButton with a View that has a borderRadius set.
Reacted by Pablo Rocha, Joe Fazzino, Simon Anthony, Vladimir Podolyan, Serge K Lebedev and ATShiTou
Why is this closed? I'm still unable to set borderRadius on RectButton.
Setting borderRadius on RectButton does not actually round the corners. Current workaround is to wrap a RectButton with a View that has a borderRadius set.
Didn't work either.
The border represents the view wrapping the RectButton and the grey area the RectButton itself.
I found out while writing this comment that RectButton needs backgroundColor for borderRadius to work. I also just checked the docs and there's nothing mentioning this requisite in there so it's kinda unintuitive.
Reacted by Fernando Zabin, Julien Brayere, Kesha and MMT
Why is this closed? I'm still unable to set borderRadius on RectButton.
Setting borderRadius on RectButton does not actually round the corners. Current workaround is to wrap a RectButton with a View that has a borderRadius set.
Didn't work either.
The border represents the view wrapping the RectButton and the grey area the RectButton itself.
I found out while writing this comment that RectButton needs backgroundColor for borderRadius to work. I also just checked the docs and there's nothing mentioning this requisite in there so it's kinda unintuitive.
Activity
vpodolyan commentedon Mar 30, 2018
The same with
borderWidthandborderColorosdnk commentedon Apr 25, 2018
This issue has been reffered in one of PRs. As soon as it will have been merged, I suppose the problem will be solved.
I close the issue
GoldenMaximo commentedon Sep 6, 2019
Why is this closed? I'm still unable to set
borderRadiuson RectButton.Didn't work either.
The border represents the view wrapping the RectButton and the grey area the RectButton itself.
Code:
Solution
I found out while writing this comment that RectButton needs
backgroundColorforborderRadiusto work. I also just checked the docs and there's nothing mentioning this requisite in there so it's kinda unintuitive.kesha-antonov commentedon Sep 25, 2020
Thanks! Setting
backgroundColorhelped[iOS] Fix callback crashes from detached gesture recognizers (#4679)
[iOS] Fix callback crashes from detached gesture recognizers (#4679)