Skip to content

Scrolling with trackpad continues momentum animation for too long #107752

@moffatman

Description

@moffatman

The ballistic simulation which follows a scroll when using BouncingScrollPhysics gives good behaviour for a touchscreen, but causes much more scrolling than other desktop and trackpad apps. The amount of friction should be increased of the source of the scroll is a trackpad, to match expectations and behavior of other applications.

_frictionSimulation = FrictionSimulation(0.135, position, velocity);

Reproduced using https://github.com/flutter/platform_tests/tree/master/scroll_overlay on Apple Silicon macOS. The same discrepancy is seen on iPadOS.

scrolling.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: desktopRunning on desktopa: fidelityMatching the OEM platforms betterf: scrollingViewports, list views, slivers, etc.found in release: 3.1Found to occur in 3.1frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-macBuilding on or for macOS specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions