Add continuous vertical scrolling for reflowable EPUBs#766
Open
shiyukk wants to merge 1 commit intoreadium:developfrom
Open
Add continuous vertical scrolling for reflowable EPUBs#766shiyukk wants to merge 1 commit intoreadium:developfrom
shiyukk wants to merge 1 commit intoreadium:developfrom
Conversation
Render reflowable EPUB spreads in a single vertical container when `EPUBPreferences.scroll` is enabled, so readers can scroll through all chapters continuously without swiping horizontally between spreads.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add true continuous vertical scrolling for reflowable EPUBs when
EPUBPreferences.scrollis enabled.Instead of keeping each spread in the horizontal pagination container, scroll mode now stacks spreads vertically in a dedicated continuous container, so readers can move through chapters without horizontal page turns.
Scope
applies only to reflowable EPUBs in scroll mode.
keeps existing paginated behavior unchanged when scroll mode is disabled.
does not affect fixed-layout EPUBs.
Notes
This introduces
ContinuousPaginationViewand updates reflowable spread navigation, height measurement, and location/viewport calculation to work in a multi-spread continuous flow.