This commit is contained in:
Oleg Maslov
2026-09-02 10:14:22 +02:00
parent 0c3e2ead3b
commit b20b138fe4
771 changed files with 161561 additions and 9027 deletions

View File

@@ -41,8 +41,8 @@ export default function Reveal({
const node = nodeRef.current;
if (!node) return;
if (typeof IntersectionObserver === 'undefined') {
setVisible(true);
return;
const fallback = window.setTimeout(() => setVisible(true), 0);
return () => window.clearTimeout(fallback);
}
const observer = new IntersectionObserver(
(entries) => {