Skip to content

PageUp and PageDown always jump to the top / bottom of revision list #360

@okuuva

Description

@okuuva

Description

This commit reintroduced a regression that was originally introduced in 0.9.3 and then fixed in 0.9.4. In the unaffected versions it was possible to bind PageUp and PageDown to e.g. scrolling the preview. After the linked commit, said buttons jump to the top/bottom of the revision list, making it impossible to use those keys for scrolling the preview. See #325, #327.

Steps to Reproduce the Problem

A config snippet for ease of access:

[keys.preview]
scroll_up = ["pgup"]
scroll_down = ["pgdown"]
  1. Bind PageUp and PageDown to scrolling the preview
  2. Try scrolling the preview

Expected Behavior

Preview scrolls up/down

Actual Behavior

Revision cursor jumps to the top/bottom.

Specifications

  • Platform: macOS 26.0.1 (25A362)
  • Version: 0.9.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions