Skip to content

[Minor] Some books' chapter sidebars don't work; regardless of subheader, they take you to beginning of chapter. #600

Description

@rbnmf

Describe the bug
Any subitem of a chapter entry on the book sidebar takes you to the beginning of said chapter, instead of the subtitle location the chapter.

To Reproduce
Steps to reproduce the behavior:

  1. Open book
  2. Open sidebar
  3. Click on any chapter title
  4. You are now on the beginning of a chapter
  5. Scroll a bit through the chapter
  6. Click on any subtitle of the chapter you are in.
  7. See how you are going back to the beginning of the chapter, NOT to the subitem location

Expected behavior
Going to the subitem location in the chapter after clicking it.

Screenshots
If applicable, add screenshots to help explain your problem.

Version:

  • Foliate version: 2.42 (package installed is folaite-git)
  • OS/Distribution and version: Arch Linux
  • Desktop environment: GNOME 3.36
  • Installation method: AUR helper (yay)

Additional context
I tested this using "Eloquent Javascript 3rd Edition" by Marjin Haverbeke

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingepub.jsRelated to Epub.js

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions