[TIMOB-27793] Add ability to control borderRadius for each corner independently
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | None |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2020-03-06T20:00:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Brenton House |
Assignee | Unknown |
Created | 2020-03-06T16:32:11.000+0000 |
Updated | 2020-03-06T20:34:50.000+0000 |
Description
Add ability to control borderRadius for each corner independently.
This is a duplicate of [TIMOB-27305]
[~jquick] - Looks like that ticket is for adding a new property. Maybe we can modify that ticket to incorporate this.
That ticket has the same goal you are looking for. You can choose which corners the borderRadius should be applied to. So, it achieves the same effect. Hans already has a working PR for iOS. Unless you think it should be implemented in a different way where you can apply a different radius per corner. I'm open to the idea. (We should do one or the other; not both.)
Perhaps the "borderRadius" property should accept 2 different types? It can type a numeric value like it does today, which is applied to all corners.
Or you can set it to a dictionary where you can set each corner independently like the below.