SrBrahma / react-native-shadow-2

Cross-platform shadow for React Native. Supports Android, iOS, Web, and Expo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error show

mingyuyuyu opened this issue · comments

image

<Shadow distance={10} startColor={'#E7EDF2'} finalColor={'#E7EDF2'} offset={[40, 0]} radius={10}> <View style={styles.orderHeader}> </View></Shadow>

styles.orderHeader = { width: '100%', flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', paddingLeft:16, paddingRight: 16, height: 48, backgroundColor: '#fff' }

shadow version: 3.0.0
svg version: 12.1.1
``

commented

Can you please create a minimum example of it in https://snack.expo.dev/?

commented

Note that it may only happen on your specific platform (e.g Android, so beware of that when trying it out in snack -- use your platform there*). I've seen a similar bug when I was dev'ing on Android and I think I already have a workaround for it. Send here the snack when you have it done

commented

Closing due to inactivity. Feel free to comment even closed.