Swipe to next chapter when in vertical scroll mode sometimes lands between pages

Open
#686 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
ios, swift
Domain
mobile-dev

Research direction

Start by reproducing the sequence in the iOS Test App on iPhone hardware with vertical scroll mode enabled and an EPUB reflowable book. Then trace the app's chapter navigation and scrolling behavior; the issue does not name specific files or tests. Done means quick back-and-forth swipes no longer leave two pages visible at once.

Written by the indexing model from the issue text.

Description

Describe the bug

In the iOS Test App with vertical scroll mode enabled, if you quickly swipe back and forth (left and right) in an epub reflowable book sometimes the current page and the next page are both visible on the screen when scrolling is done. This is not easily reproducible and an edge case, of course, but thought you might like to know anyway.

How to reproduce?
  1. Launch the iOS Test App on iPhone hardware
  2. Open an epub reflowable book (e.g.: Jane Eyre - available from the OPDS feed)
  3. Move a few chapters into the book
  4. Swipe left and right quickly back and forth
Readium version

3.5.0

OS version

ios 26.1

Testing device

iPhone 16 Pro

Environment
macOS: 15.6
platform: arm64
Xcode 26.1.1
Build version 17B100
Additional context
Image
Dominant language
Swift
Stars
557
Forks
249
Avg merge
3h 52m
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from readium/swift-toolkit

All issues in readium/swift-toolkit

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.