Skip to content

Instantaneous jump at start of scroll gestures #20495

@Timmmm

Description

@Timmmm

Since the touch slop was massively increased to ~~~solve~~~ bodge #10241, there is a very noticeable problem when scrolling.

Basically if you start scrolling (try this in the gallery app), initially nothing will happen because you are within the touch slop (18 pixels). When you have moved your finger by 18 px it will then suddenly think "oh you want to scroll! and you've moved your finger 18 pixels" and it instantly scrolls the view by 18 pixels. Obviously this looks terrible.

The solution is to not do that. I checked with native android and once scrolling is detected it only scrolls based on the subsequent movement of your finger, so there's no sudden jump.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms betterf: scrollingViewports, list views, slivers, etc.found in release: 1.22Found to occur in 1.22frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions