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

On IOS, setting distance=0 does not work properly

Open huangsheng912 opened this issue 3 years ago • 2 comments

On IOS, if borderRadius is set in child‘s style, distance=0 will cause an exception. <Shadow distance={0} startColor='#E43B5F' offset={[0, 4]}> <View style={{width: 100, height: 100, borderRadius: 50, backgroundColor: 'blue'}} /> </Shadow> shadow

huangsheng912 avatar Nov 20 '22 16:11 huangsheng912

Can you reproduce it here? https://snack.expo.dev

ftzi avatar Dec 11 '22 19:12 ftzi

https://snack.expo.dev/@huang912/courageous-juice-box shadow

huangsheng912 avatar Dec 12 '22 01:12 huangsheng912