Skip to content

Able to cancel the gesture event when taking out of range of the current widget #146749

@tomohiroshohi-main

Description

@tomohiroshohi-main

Use case

onPanStart



onPanUpdate Event



Widget scroll position out of range or on top of Gesture with Gesture currently enabled on the stack.



onPanUpdate is alive

Proposal

In this case, it could have gone into onPanCancel, but it did.

I would like to see an option to cancel this enabled or cancelled by default.

Peek.2024-04-15.15-27.mp4

Version Info:

Flutter 3.10.6 • channel unknown • unknown source
Framework • revision f468f3366c (9 months ago) • 2023-07-12 15:19:05 -0700
Engine • revision cdbeda788a
Tools • Dart 3.0.6 • DevTools 2.23.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: gesturesflutter/packages/flutter/gestures repository.frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions