increase hitslop to compesate
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
|||||||
} from 'react-native'
|
} from 'react-native'
|
||||||
import {BlurView} from 'expo-blur'
|
import {BlurView} from 'expo-blur'
|
||||||
|
|
||||||
import {HITSLOP_10} from '#/lib/constants'
|
import {HITSLOP_20} from '#/lib/constants'
|
||||||
import {type Props as IconProps} from '#/components/icons/common'
|
import {type Props as IconProps} from '#/components/icons/common'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
@@ -45,7 +45,7 @@ export function CircleChromeButton({
|
|||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
accessibilityLabel={label}
|
accessibilityLabel={label}
|
||||||
accessibilityHint=""
|
accessibilityHint=""
|
||||||
hitSlop={HITSLOP_10}
|
hitSlop={HITSLOP_20}
|
||||||
onPress={onPress}
|
onPress={onPress}
|
||||||
testID={testID}
|
testID={testID}
|
||||||
style={({pressed}) => [styles.root, pressed && styles.pressed]}>
|
style={({pressed}) => [styles.root, pressed && styles.pressed]}>
|
||||||
|
|||||||
Reference in New Issue
Block a user