fix: fix hit slop for bottom tab bar (#110)

This commit is contained in:
Vojtech Novak
2019-03-21 14:51:12 +01:00
parent 13996e8a97
commit 35d85f1ad1

View File

@@ -64,7 +64,7 @@ class TouchableWithoutFeedbackWrapper extends React.Component<*> {
onPress={onPress}
onLongPress={onLongPress}
testID={testID}
hitSlop={{ left: 15, right: 15, top: 5, bottom: 5 }}
hitSlop={{ left: 15, right: 15, top: 0, bottom: 5 }}
accessibilityLabel={accessibilityLabel}
>
<View {...props} />