-
Notifications
You must be signed in to change notification settings - Fork 820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-uniform border mask path overlaps borderRadius #492
Comments
Border (<position>)
mask
oh interesting. That's actually pretty hard to fix |
The border path masks could be replaced with a single Svg path, that can replace the |
Yeah but when you have just a top border, the path is super weird |
You can try adjusting the values of the border-radius property to see if you can find a combination that works with the border path polyfill. |
| -------------------------------------------------------------------------------------------------
The border path polyfill (
Border (<position>)
mask) forborderLeftWidth
,borderRightWidth
, etc, for uneven borders, doesn't match the borderRadius of a<View>
.Expected behavior:
Observed behavior:
(Example with uneven
borderRadius
)How to reproduce:
Sketch version:
63.1
GitHub Project:
Code that's affected by this issue: https://github.com/elemental-react/primer/blob/918f8f0061e9902ac3bc09e5e28db370e603a912/src/buttons/ButtonGroup.jsx#L12
Can be run from https://github.com/elemental-react/primer/tree/master/examples/sketch
The text was updated successfully, but these errors were encountered: