Skip to content

Inner wrapper with overflow:hidden prevents fragmentation, page stays vertically scrollable #237

Description

@v3nko

Describe the bug

In the reflowable navigator, a resource whose content is wrapped in an inner element styled overflow: hidden does not fragment across pages.

This is related to, but not fixed by, #292 / PR #294. That fix forces overflow: visible !important only on :root and body. It does not touch inner containers, so any content wrapper carrying overflow: hidden still breaks pagination.

Video demo:

Screen_recording_20260708_173117.mp4

Epub: Fundamental-Accessibility-Tests-Non-Visual-Reading-v1.0.0.zip

How to reproduce?

  1. Open the attached EPUB
  2. Use the reflowable navigator (scroll off) with default settings.
  3. Navigate to "Move to the next block item" and swipe 2 pages forward. Its content is wrapped in <section class="sample-text">, styled with overflow: hidden plus ordinary margins/padding.

Readium version

3.3.0

Android API version

36

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions