Skip to content

Colota - Android GPS Location tracker

fix: add hitSlop to Today button for more reliable tap detection (#274)

Max Dietrich933c13db6eb7
diff --git a/apps/mobile/src/components/features/inspector/CalendarPicker.tsx b/apps/mobile/src/components/features/inspector/CalendarPicker.tsx
index 1522385c..a88210db 100644
--- a/apps/mobile/src/components/features/inspector/CalendarPicker.tsx
+++ b/apps/mobile/src/components/features/inspector/CalendarPicker.tsx
@@ -198,6 +198,7 @@ export function CalendarPicker({
{!isToday && !isExpanded && (
<Pressable
onPress={goToToday}
+ hitSlop={HIT_SLOP_LG}
style={({ pressed }) => [
styles.todayBtn,
{ backgroundColor: colors.primary + "15" },