Skip to content

Commit

Permalink
fix: use a shadow instead of a border for header on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
arnsa authored and satya164 committed Aug 18, 2019
1 parent 53f8ba9 commit 6e9d05b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/stack/src/views/Header/HeaderBackground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ const styles = StyleSheet.create({
elevation: 4,
},
ios: {
borderBottomWidth: StyleSheet.hairlineWidth,
borderBottomColor: '#A7A7AA',
shadowColor: 'rgba(0, 0, 0, 0.3)',
shadowOpacity: 0.85,
shadowRadius: 0,
shadowOffset: {
width: 0,
height: StyleSheet.hairlineWidth,
},
},
default: {
// https://github.com/necolas/react-native-web/issues/44
Expand Down

0 comments on commit 6e9d05b

Please sign in to comment.