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:
schroda
2025-05-02 14:52:25 +02:00
parent 0c4e772542
commit d606130846
2 changed files with 40 additions and 16 deletions

View File

@@ -287,7 +287,6 @@ const BaseReaderViewer = forwardRef(
currentPageIndex,
readingMode,
readingDirection,
isContinuousReadingModeActive,
setPageToScrollToIndex,
pageScaleMode,
);