fix
This commit is contained in:
@@ -550,7 +550,7 @@ const PdfViewer = ({ src, title, className, viewportRef }: PdfViewerProps): JSX.
|
|||||||
scrollElementRef.current = null;
|
scrollElementRef.current = null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}, [handlePageVisibilityChange, intersectionRoot, updateScrollVelocityState, viewportRef]);
|
}, [handlePageVisibilityChange, intersectionRoot, updateScrollVelocityState, viewMode, viewportRef]);
|
||||||
|
|
||||||
const pageElements = useMemo(() => (
|
const pageElements = useMemo(() => (
|
||||||
pages.map((page) => (
|
pages.map((page) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user