mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-23 20:10:49 +08:00
fix: fix hit slop for bottom tab bar (#110)
This commit is contained in:
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user