React-native-linear-gradient: Setting border colour causes it to lose shape style

Created on 14 May 2016  路  2Comments  路  Source: react-native-linear-gradient/react-native-linear-gradient

React Native 25.1

circle: { width: 100, height: 100, borderRadius: 100/2, borderWidth: 1 },
a
circle: { width: 100, height: 100, borderRadius: 100/2, borderColor: '#fff', borderWidth: 1 },
b

Most helpful comment

Setting overflow: 'hidden'; fixed it for in my case but may not be a solution for everybody (absolute positioned elements etc)

All 2 comments

Setting overflow: 'hidden'; fixed it for in my case but may not be a solution for everybody (absolute positioned elements etc)

Hey! I'm closing this since it's a duplicate.

Was this page helpful?
0 / 5 - 0 ratings