Commit Graph

15 Commits

Author SHA1 Message Date
schroda
eef5f762cb Fix infinite scroll loading previous chapter unintentionally on reader open
This was only was noticeable in case the transition page was disabled.
Due to potential layout shifts and scrolling the initial page into view, the infinite chapter logic got triggered and loaded the previous chapter.
This is not a 100% guarantee that it won't happen, slow devices might still run into this issue
2026-06-16 18:55:22 +02:00
schroda
5cdc161d46 Fix infinite scroll previous chapter load with disabled transition page
There is no guarantee that the scroll position is exactly 0
2026-06-16 17:58:46 +02:00
schroda
802079ef3d Fix infinite scroll open previous/next chapter
Regression 53c24280c3
2026-06-03 17:52:57 +02:00
schroda
53c24280c3 Fix infinite scroll with disabled transition page
fixes #1108
2026-05-21 00:55:49 +02:00
schroda
576cf85c38 Cleanup reader store slices hooks 2026-02-21 17:33:13 +01:00
schroda
704d3b191f Flag event listeners as passive 2025-11-22 19:14:43 +01:00
schroda
525173e05e Add dedicated store access util functions
Makes it easier to find the specific store slice usage
2025-09-21 01:16:59 +02:00
schroda
ed488f76dd Always use "useShallow" for store selection 2025-09-21 01:16:57 +02:00
schroda
f5c7379fc4 Simplify ReaderControls#useOpenChapter 2025-09-21 01:16:49 +02:00
schroda
6da8a3fd87 Move reader store in sub dir 2025-09-21 01:16:33 +02:00
schroda
98ec5257b9 Move reader "settings state" to "reader store" 2025-09-21 01:16:26 +02:00
schroda
9bedec7115 Rename "reader scrollbar state" properties 2025-09-21 01:16:13 +02:00
schroda
4cc5821ead Move reader "scrollbar state" to "reader store" 2025-09-21 01:16:10 +02:00
schroda
9e5af57a5f Move "core" folder out of "features" into "base" 2025-08-16 15:44:17 +02:00
schroda
f548ba9502 Structure "reader" in sub-features 2025-08-16 02:02:13 +02:00