Skip to content

Reader gets stuck when swiping back through a previous chapter that only has 1 page #617

@lalalasupa0

Description

@lalalasupa0

Steps to reproduce

  1. Open a manga with multiple chapters
  2. Ensure the "Previous Chapter" (e.g. Chapter 1 or 2) consists of exactly 1 single image/page
  3. Start reading the "Current Chapter" (e.g. Chapter 3)
  4. Swipe backwards to transition to the previous chapter
  5. Once inside the 1-page previous chapter, attempt to swipe backwards again to reach the chapter before it

Expected behavior

The reader should trigger the "Load Previous Chapter" transition screen and seamlessly load the preceding chapter

Actual behavior

The reader gets completely stuck on the 1-page chapter and refuses to transition backwards any further, trapping unless manually opening the chapter list menu to navigate

Crash logs

No response

Yōkai version

App version: 1.10.0-r6376 (standard, 21a950f, 158, 2026-03-30T09:12:29Z) Android version: 10 (SDK 29) Android build ID: QP1A.190711.020.G970USQU4ETH7 Device brand: samsung Device manufacturer: samsung Device name: beyond0q Device model: SM-G970U Device product name: beyond0qltesq

Android version

10

Device

s10e

Other details

This seems to happen because the reader's swipe-transition logic relies on tracking page indices
When a chapter only has a single page, the "first page" and "last page" index are identical, which likely breaks the mathematical threshold required to trigger the backwards transition intent

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help (Browse → Extensions → Find the extension → Settings → Tap the [<>] icon, it should redirect you to the maintainer).
  • I am reporting an issue exclusive to this fork. I have also checked that is not an issue on the main version of Mihon.
  • I have tried the troubleshooting guide.
  • I have updated the app to version 1.9.7.4.
  • I have updated all installed extensions.
  • I have filled out all of the requested information in this form.

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions