From a15e991a7792e0db992be8b0ef9d9705df53fd39 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Fri, 5 Aug 2022 13:16:26 -0600 Subject: [PATCH] fix: default to not using intersection observer --- src/components/Chart.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Chart.tsx b/src/components/Chart.tsx index 17ad8a75..100faca7 100644 --- a/src/components/Chart.tsx +++ b/src/components/Chart.tsx @@ -162,7 +162,7 @@ export function Chart({ } }, [containerEl]) - const [isIntersecting, setIsIntersecting] = React.useState(true) + const [isIntersecting, setIsIntersecting] = React.useState(false) React.useEffect(() => { if (!containerEl || !options.useIntersectionObserver) return