Skip to content

Colota - Android GPS Location tracker

fix: move trip detail map outside ScrollView so gestures reach it

Max Dietrichfaeea55ac3fb
diff --git a/apps/mobile/src/screens/TripDetailScreen.tsx b/apps/mobile/src/screens/TripDetailScreen.tsx
index 65dab5a4..2d325585 100644
--- a/apps/mobile/src/screens/TripDetailScreen.tsx
+++ b/apps/mobile/src/screens/TripDetailScreen.tsx
@@ -144,12 +144,10 @@ export function TripDetailScreen({ route, navigation }: RootScreenProps<"Trip De
return (
<Container>
+ <View style={styles.mapContainer}>
+ <TrackMap locations={trip.locations} colors={colors} fitVersion={1} />
+ </View>
<ScrollView contentContainerStyle={styles.content}>
- {/* Map */}
- <View style={styles.mapContainer}>
- <TrackMap locations={trip.locations} colors={colors} fitVersion={1} />
- </View>
-
{/* Header */}
<View style={styles.section}>
<View style={styles.headerTitleRow}>