Fix leading page scroll preservation in continuous horizontal mode with RTL mode
This commit is contained in:
@@ -35,6 +35,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|||||||
- (**Reader**) Fix "auto webtoon mode" detection for manga source languages other than english and the current selected language
|
- (**Reader**) Fix "auto webtoon mode" detection for manga source languages other than english and the current selected language
|
||||||
- (**Reader**) Fix the reader transition page previous chapter scanlator name showing the chapter name instead of the scanlator name
|
- (**Reader**) Fix the reader transition page previous chapter scanlator name showing the chapter name instead of the scanlator name
|
||||||
- (**Reader**) Fix opening the previous/next chapter in the continuous horizontal mode with inverted reading direction
|
- (**Reader**) Fix opening the previous/next chapter in the continuous horizontal mode with inverted reading direction
|
||||||
|
- (**Reader**) Fix scroll preservation in continuous horizontal mode with righ to left reading direction
|
||||||
- (**Manga**) Fix dynamic manga page color theme not getting reset after leaving the manga page
|
- (**Manga**) Fix dynamic manga page color theme not getting reset after leaving the manga page
|
||||||
|
|
||||||
## [20251230.01] (r2937) - 2025-12-30
|
## [20251230.01] (r2937) - 2025-12-30
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ const usePreserveOnLeadingPageRender = (scrollElementRef: RefObject<HTMLElement
|
|||||||
return entry.target.offsetTop < top;
|
return entry.target.offsetTop < top;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Math.abs(entry.target.offsetLeft) < Math.abs(left);
|
return entry.target.offsetLeft < left;
|
||||||
});
|
});
|
||||||
|
|
||||||
const includesElementsBeforeScrollPosition = !!entriesBeforeScrollPosition.length;
|
const includesElementsBeforeScrollPosition = !!entriesBeforeScrollPosition.length;
|
||||||
|
|||||||
Reference in New Issue
Block a user