Skip to content

PDF preview intermittently ignores mouse-wheel scrolling #251

Description

@mydmdm

Problem

In some scenarios, a PDF preview cannot be scrolled vertically with the mouse wheel. The same preview remains scrollable by dragging its scrollbar, so the document and scroll container are functional but wheel input is not reaching or affecting it.

Expected behavior

When the pointer is over a scrollable PDF preview, mouse-wheel input should scroll the preview vertically in all supported Canvas/view states without unintended Canvas pan/zoom or parent gesture interception.

Investigation boundary

Reproduce and identify the affected states (selection, focus, zoom level, expanded/embedded preview, overlays, Canvas interaction mode, browser/platform as relevant). Trace wheel-event ownership and propagation across the PDF renderer, preview container, Canvas gesture handlers, and overlays. Distinguish an event-routing issue from PDF renderer state or CSS overflow behavior before proposing a fix.

Acceptance direction

  • Mouse-wheel scrolling works wherever scrollbar dragging already works.
  • Canvas pan/zoom behavior outside the PDF preview remains unchanged.
  • Nested scrolling and boundary behavior are explicit and covered by focused regression tests.

Activity

  1. mydmdm commented on Sep 30, 2026

    @mydmdm
    ContributorAuthor

    The Chat-specific wheel failure discovered during this investigation has been split into #259 because it has a distinct verified CSS scroll-chain root cause and an independently deliverable fix in #258.

    #251 remains PDF-specific and open. PR #258 does not claim to resolve the original PDF report.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions