Preserve scroll position during infinite scroll initial previous chapter render
This commit is contained in:
@@ -284,7 +284,11 @@ const BaseReaderViewer = forwardRef(
|
||||
useReaderAutoScroll(isOverlayVisible, automaticScrolling);
|
||||
useReaderPreserveScrollPosition(
|
||||
scrollElementRef,
|
||||
currentChapter?.id,
|
||||
currentChapterIndex,
|
||||
currentPageIndex,
|
||||
chaptersToRender,
|
||||
visibleChapters,
|
||||
readingMode,
|
||||
readingDirection,
|
||||
setPageToScrollToIndex,
|
||||
|
||||
Reference in New Issue
Block a user