Skip to content

Commit 8d4f2f1

Browse files
mozziusclaude
andcommitted
grow the native lightbox's header buttons to 44pt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent eb9b2bb commit 8d4f2f1

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎src/components/Lightbox/chrome/CircleChromeButton.tsx‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,13 @@ type Props = {
2727
| 'accessibilityHint'
2828
>
2929

30-
const SIZE = 32
30+
/**
31+
* Apple's minimum tap size. The image options button is a native menu trigger
32+
* on iOS, where `hitSlop` doesn't apply, so the circle itself is the target.
33+
*/
34+
const SIZE = 44
3135
const RADIUS = SIZE / 2
32-
const ICON = 18
36+
const ICON = 24
3337

3438
export function CircleChromeButton({
3539
icon: Icon,

0 commit comments

Comments
 (0)