flow
flow copied to clipboard
feat(reader): Implement chapter-limited smooth Scroll View
This commit introduces a refined "Scroll" page view mode that limits vertical scrolling to the current chapter. This addresses the previous issue where continuous scroll modes would either be choppy or scroll across the entire book.
Key changes include:
- Configured EPUB.js rendition with 'scrolled' flow and removed the explicit 'continuous' manager to enable chapter-limited scrolling.
- Modified keyboard event handling in Reader.tsx to allow explicit chapter navigation (ArrowLeft/Right) when in scroll mode.
- Adjusted wheel event handling in Reader.tsx to prevent automatic chapter transitions, ensuring users can scroll freely within the current chapter.
These changes provide a fluid and responsive scrolling experience while maintaining clear chapter boundaries and user control over navigation.
@pratyush3124 is attempting to deploy a commit to the pacexy Team on Vercel.
A member of the Team first needs to authorize it.
#168 & #167 are addressed here