From 301579c255c5fd5c53091c5f5213da1e997cb7bb Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 22 Feb 2026 02:02:10 +0000 Subject: [PATCH] Separate photo swipe from card swipe gestures Move drag handler from outer card to details section only. Swiping on photos now navigates the carousel, swiping on the details area below triggers like/dislike/skip actions. --- frontend/src/components/SwipeCard.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/SwipeCard.tsx b/frontend/src/components/SwipeCard.tsx index ea685ed..4ed15c4 100644 --- a/frontend/src/components/SwipeCard.tsx +++ b/frontend/src/components/SwipeCard.tsx @@ -92,17 +92,14 @@ export function SwipeCard({ feature, onSwipe, onTap, isTop, stackIndex }: SwipeC return (
{/* Color overlay */} @@ -160,8 +157,12 @@ export function SwipeCard({ feature, onSwipe, onTap, isTop, stackIndex }: SwipeC
- {/* Details — bottom half */} -
+ {/* Details — bottom half (swipe here to like/dislike) */} +
{/* Price */}
£{p.total_price.toLocaleString()}