diff --git a/app/components/markdown.tsx b/app/components/markdown.tsx index 69bc35175..eefb31f30 100644 --- a/app/components/markdown.tsx +++ b/app/components/markdown.tsx @@ -90,6 +90,15 @@ export function Markdown( } }; + useEffect(() => { + setTimeout(() => { + if (!inView.current) { + checkInView(); + } + }, 30); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); + checkInView(); return (