Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Commit

Permalink
fix: tweak hitSlop on bottom tab bar buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
brentvatne committed Nov 6, 2018
1 parent a836feb commit e1c7bf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/BottomTabBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class TouchableWithoutFeedbackWrapper extends React.Component<*> {
<TouchableWithoutFeedback
onPress={onPress}
testID={testID}
hitSlop={{ left: 15, right: 15, top: 5, bottom: 5 }}
accessibilityLabel={accessibilityLabel}
>
<View {...props} />
Expand Down

0 comments on commit e1c7bf6

Please sign in to comment.