mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
fix: tweak hitSlop on bottom tab bar buttons
This commit is contained in:
committed by
satyajit.happy
parent
66ae51869f
commit
a5514a2f24
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user