fix avi follow deadzone (#6639)

This commit is contained in:
Samuel Newman
2024-11-22 18:56:07 +00:00
committed by GitHub
parent 3781074921
commit bc2a3aee0c
+6 -9
View File
@@ -84,25 +84,22 @@ export function AviFollowButton({
{!isFollowing && ( {!isFollowing && (
<Button <Button
label={_(msg`Open ${name} profile shortcut menu`)} label={_(msg`Open ${name} profile shortcut menu`)}
hitSlop={{
top: 0,
left: 0,
right: 5,
bottom: 5,
}}
style={[ style={[
a.rounded_full, a.rounded_full,
a.absolute, a.absolute,
{ {
height: 30,
width: 30,
bottom: -7, bottom: -7,
right: -7, right: -7,
}, },
]}> ]}>
<NativeDropdown items={items}> <NativeDropdown items={items}>
<View <View
style={[a.h_full, a.w_full, a.justify_center, a.align_center]}> style={[
{width: 30, height: 30},
a.align_center,
a.justify_center,
a.rounded_full,
]}>
<View <View
style={[ style={[
a.rounded_full, a.rounded_full,