spinner to loading page compeletely
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-07-05 16:26:37 +03:30
parent 954ad48486
commit 3c764a1652
6 changed files with 195 additions and 40 deletions
@@ -240,6 +240,7 @@ const BookViewer: FC<BookViewerProps> = ({ pages, catalogSize, documentSettings
const {
scheduleEntranceForIndices,
getEntrancePhase,
replayEntranceForPage,
reset: resetEntrance,
} = useBookEntranceController({ pages });
@@ -627,6 +628,7 @@ const BookViewer: FC<BookViewerProps> = ({ pages, catalogSize, documentSettings
key={page.id}
page={page}
entrancePhase={getEntrancePhase(page.id)}
onDeferredEntranceReady={replayEntranceForPage}
scale={contentScale}
pageWidth={pagePixelWidth}
pageHeight={pagePixelHeight}