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
The border path polyfill (Border (<position>) mask) for borderLeftWidth, borderRightWidth, etc, for uneven borders, doesn't match the borderRadius of a <View>.
The border path masks could be replaced with a single Svg path, that can replace the ShapeGroup rectangle). Would need a function to generate the <Path> data from the rounded corners. Can pass the borderColor into <path fill="#color" and pass in the border width to the path generator function.
| -------------------------------------------------------------------------------------------------
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: