Fix overlapping touch targets for profile header buttons (#10868)

This commit is contained in:
Spence Pope
2026-06-11 12:04:46 -04:00
committed by GitHub
parent 302026d684
commit ba72110a12
2 changed files with 8 additions and 2 deletions
@@ -360,6 +360,10 @@ export function HeaderStandardButtons({
size="small"
color="secondary"
shape="round"
// expand the 33pt button toward a 44pt touch target, capped
// horizontally at half the 4pt row gap so the target cannot
// overlap the neighboring buttons' own targets
hitSlop={{top: 6, bottom: 6, left: 2, right: 2}}
onPress={() => {
playHaptic('Light')
ax.metric('invite:dialog:open', {logContext: 'ProfileHeader'})