From 8d699cc762bcefb79d467f5d785b336b1580a99e Mon Sep 17 00:00:00 2001 From: Tyler Hill Date: Tue, 30 Jan 2024 13:57:44 -0600 Subject: [PATCH] Change threshold --- src/components/Projects.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Projects.tsx b/src/components/Projects.tsx index c2e11dc..9053715 100644 --- a/src/components/Projects.tsx +++ b/src/components/Projects.tsx @@ -77,7 +77,7 @@ export default function Projects() { const obs = new IntersectionObserver(cb, { root: carouselRef.current, - threshold: 1.0, + threshold: 0.5, }); for (const child of carouselRef.current.children) {