Skip to content

Commit

Permalink
fix: default to not using intersection observer
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Aug 5, 2022
1 parent d0f84be commit a15e991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export function Chart<TDatum>({
}
}, [containerEl])

const [isIntersecting, setIsIntersecting] = React.useState(true)
const [isIntersecting, setIsIntersecting] = React.useState(false)

React.useEffect(() => {
if (!containerEl || !options.useIntersectionObserver) return
Expand Down

0 comments on commit a15e991

Please sign in to comment.