Skip to content

Stopping flings should not count as a touch #5023

Description

@eseidelGoogle

(A video would make this easy to understand, but it's not easy for me to capture one at this second.)

To repro:

  1. Open Flutter Gallery on iOS
  2. Fling scroll on the home page.
  3. Stop the fling with your finger (notice how it starts a splash effect on the item below your finger).
  4. Lift your finger after stopping. Notice that it counted your "stop scroll" as an action and activated the list item below your finger and took you to whatever demo you happened to be over.

Compare this behavior with how flings of other scrolling lists work on iOS (such as Settings), notice that Flutter's behavior is incorrect.

It's possible our behavior here is wrong on Android too, but I haven't confirmed yet.

Thanks to @goderbauer for bringing this to my attention.

Activity

  1. added
    platform-iosiOS applications specifically
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Jul 25, 2016
  2. added this to the August milestone on Jul 25, 2016
  3. eseidelGoogle commented on Aug 4, 2016

    @eseidelGoogle
    ContributorAuthor

    We just tested, Android doesn't count these as touches either. @Hixie said he'd take a look.

  4. eseidelGoogle commented on Aug 5, 2016

    @eseidelGoogle
    ContributorAuthor

    Got reverted due to blocking touches even after you stopped scrolling sometimes. Eventually touches would work again, but sometimes took several seconds. I was testing on iOS.

  5. changed the title [-]Stopping flings on iOS should not count as a touch[/-] [+]Stopping flings should not count as a touch[/+] on Aug 11, 2016
  6. added a commit that references this issue on Apr 17, 2018
  7. added a commit that references this issue on Apr 17, 2018
  8. added a commit that references this issue on May 14, 2018
  9. github-actions commented on Sep 6, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  10. locked as resolved and limited conversation to collaborators on Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions