Commit 9d5c84b
authored
fix: trigger initial divina scroll preload on iOS (#723)
## Problem
On iOS, opening the DIVINA reader in scroll mode on the first page could
leave the second page outside the initial preload window. The first
manual page turn then had to fetch and decode that page on demand, which
showed a brief loading state.
## Approach
Trigger the regular page preload pass immediately after the initial
scroll position is synchronized in the iOS scroll reader. This keeps the
fix on the existing preload architecture and aligns the iOS
initialization path with the macOS path that already warms adjacent
pages at first presentation.
## Scope
- Update the iOS `ScrollPageView` initial-position sync path to force
the first preload pass once the committed item is known
- Leave visible-page prioritization and later page-change maintenance
behavior unchanged1 parent 3ee6d74 commit 9d5c84b
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
303 | 307 | | |
304 | 308 | | |
305 | 309 | | |
| |||
0 commit comments