Skip to content

Scrolling through the game positions is almost uncontrollable on macOS #19486

@Simek

Description

@Simek

Exact URL of where the bug happened

Scrolling through the game positions is almost uncortillabel, and makes it almost not possible to scroll just by one history step on macOS, when using touchpad gestures.

On Windows, when using mouse with scroll wheel it works fine, so most likely it can be attributed to the momentum/inertia scroll for gestures on macOS.

The fix would probably be to improve wheel event bindings, for example clamp the values.

Steps to reproduce the bug

Important

Requires macOS and a device with touchpad.

  1. Got to https://lichess.org/training
  2. Move mouse over board.
  3. Attempt the smallest scroll move on the touchpad.
  4. Game will jump by several history steps.
Kapture.2026-02-17.at.18.15.03.mp4

What did you expect to happen?

It is possible to scroll by positions one-by-one, and only scroll by multiple ones on longer touchbar swipes.

What happened instead?

Even smallest trackpad scroll moves the game history by several positions.

Operating system

macOS

Browser and version (or alternate access method)

Chrome 144

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions