From 7760722c76ad5e55b9de53257f3857afe0c601c2 Mon Sep 17 00:00:00 2001 From: vshnosngh Date: Thu, 5 Nov 2026 13:20:36 +0530 Subject: [PATCH] fix(home-slider): restore desktop mouse hover tracking, isolate slider from link navigation, and fix touch drag math --- .../sections/ShiftableToolsGridSection.tsx | 217 +++++++++++------- src/components/ui/CardBeforeAfterSlider.tsx | 10 + src/components/ui/Cinematic3DComparison.tsx | 9 +- 3 files changed, 147 insertions(+), 89 deletions(-) diff --git a/src/components/sections/ShiftableToolsGridSection.tsx b/src/components/sections/ShiftableToolsGridSection.tsx index 1e219c3..96e226f 100644 --- a/src/components/sections/ShiftableToolsGridSection.tsx +++ b/src/components/sections/ShiftableToolsGridSection.tsx @@ -184,32 +184,64 @@ function ShiftableRow({ items }: { items: ToolMediaItem[] }) { }} className="w-full transition-[flex-grow] duration-1000 ease-[cubic-bezier(0.16,1,0.3,1)] will-change-[flex-grow] flex flex-col min-w-0" > - {/* Window Container with strictly locked pixel height & landscape aspect (entire card is clickable) */} - - {/* GPU-Composited Shadow Elevation Layer */} -