From 1b2029b2e210690395036bbc72c8dba248a8b4e0 Mon Sep 17 00:00:00 2001 From: Luther Tchofo Safo Date: Tue, 8 Oct 2024 21:00:24 +0200 Subject: [PATCH] Fixing overscroll on non-Firefox browsers... --- app/(pages)/carousel-part-cleaned/carousel.tsx | 3 +++ app/layout.tsx | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/(pages)/carousel-part-cleaned/carousel.tsx b/app/(pages)/carousel-part-cleaned/carousel.tsx index 5a95241..4c86a05 100644 --- a/app/(pages)/carousel-part-cleaned/carousel.tsx +++ b/app/(pages)/carousel-part-cleaned/carousel.tsx @@ -465,6 +465,7 @@ export default function Carousel({ objectFitting === "scroll" ? objectFittingScrollHeight : "auto", + // x: `-${index * 100}%`, // Safari again }} onAnimationStart={(definition: AnimationDefinition) => onStart(definition) @@ -604,6 +605,8 @@ export default function Carousel({
) { return ( - + {children}