Ignore trailing image resize for scroll preservation
Resizes of elements below the current scroll position do not cause a layout shift; thus, they can be ignored. This was a problem when using tap zone click scrolling, because the scrolling was aborted by the scroll position preservation
This commit is contained in:
@@ -287,7 +287,6 @@ const BaseReaderViewer = forwardRef(
|
||||
currentPageIndex,
|
||||
readingMode,
|
||||
readingDirection,
|
||||
isContinuousReadingModeActive,
|
||||
setPageToScrollToIndex,
|
||||
pageScaleMode,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user