This commit is contained in:
2025-12-04 14:48:20 +01:00
parent dd521f9f1d
commit 2353f114f6
+1 -1
View File
@@ -550,7 +550,7 @@ const PdfViewer = ({ src, title, className, viewportRef }: PdfViewerProps): JSX.
scrollElementRef.current = null;
}
};
}, [handlePageVisibilityChange, intersectionRoot, updateScrollVelocityState, viewportRef]);
}, [handlePageVisibilityChange, intersectionRoot, updateScrollVelocityState, viewMode, viewportRef]);
const pageElements = useMemo(() => (
pages.map((page) => (