Fix infinite scroll intersection info calculation
Scrollbars need to be considered since they decrease the available viewport size in which the element can be visible
This commit is contained in:
@@ -416,6 +416,8 @@ const BaseReaderChapterViewer = ({
|
||||
isPreviousChapterVisible={isPreviousChapterVisible}
|
||||
isNextChapterVisible={isNextChapterVisible}
|
||||
imageWrapper={pagerRef.current}
|
||||
scrollbarXSize={scrollbarXSize}
|
||||
scrollbarYSize={scrollbarYSize}
|
||||
/>
|
||||
)}
|
||||
{showPreviousTransitionPage && (
|
||||
|
||||
Reference in New Issue
Block a user