Skip to content

fix: stabilize webtoon segment preload scrolling#698

Merged
everpcpc merged 2 commits intomainfrom
codex/fix-webtoon-scroll-anchor-jump
Mar 27, 2026
Merged

fix: stabilize webtoon segment preload scrolling#698
everpcpc merged 2 commits intomainfrom
codex/fix-webtoon-scroll-anchor-jump

Conversation

@everpcpc
Copy link
Copy Markdown
Owner

Summary

  • stabilize Webtoon scroll anchoring while the next segment is appended near the end of a chapter
  • restore the latest page-relative offset across deferred reloads and measured layout updates on both iOS and macOS
  • bump the build version to 383

Why

Webtoon occasionally jumped by a small distance after reaching the last pages of a chapter. The issue was caused by content reload and layout correction paths restoring an older scroll position after the reader had already advanced slightly, which made the viewport snap backward after scrolling finished.

Impact

  • reduces visible scroll jitter when next-chapter content is preloaded in Webtoon mode
  • keeps end-of-chapter transitions steadier on iOS and macOS
  • preserves the usual version bump expected for this change set

Validation

  • make format
  • make build

Keep the scroll anchor stable while webtoon content reloads around end-of-chapter preloading.

Unify anchor capture and restoration across deferred reloads and measured layout updates, and keep valid height cache entries when segment content changes.
@everpcpc everpcpc changed the title [codex] stabilize webtoon segment preload scrolling fix: stabilize webtoon segment preload scrolling Mar 27, 2026
@everpcpc everpcpc marked this pull request as ready for review March 27, 2026 01:09
@everpcpc everpcpc merged commit a087417 into main Mar 27, 2026
3 checks passed
@everpcpc everpcpc deleted the codex/fix-webtoon-scroll-anchor-jump branch March 27, 2026 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant