react-native-shadow icon indicating copy to clipboard operation
react-native-shadow copied to clipboard

Calculation error in SVG Path

Open shubhangsati opened this issue 4 years ago • 1 comments

In BoxShadow, rectHeight is calculated as height - radius * 2 and rectWidth is calculated as width - radius * 2. These values can be negative for views with dynamic height. There should be a check for negative values before prefixing a - to a negative number (notice the double -- in the image below)  image

shubhangsati avatar Feb 05 '21 12:02 shubhangsati

+1

RuralPeople avatar Jan 18 '22 09:01 RuralPeople