Skip to content

Tabs widget does not accept drag events during the snap transition #4195

Description

@yjbanov

Steps to Reproduce

In the gallery app's "Tab" demo, drag half-way between two tabs and release. The tab widget will snap to the closest tab with an animated transition. During that transition the tab widget will not accept any drag gestures. You have to wait for the animation to complete. This is easy to reproduce in slow animation mode. The behavior is not consistent, you may need to try several times to see it, but it doesn't take long to reproduce.

Flutter Doctor

[✓] Flutter (on Mac OS, channel unknown)
    • Flutter at /Users/yjbanov/code/flutter/flutter
    • Framework revision 43dd9450af (3 months ago), engine revision 7fab0c350b

[✓] Android toolchain - develop for Android devices (Android SDK 22.0.1)
    • Android SDK at /Users/yjbanov/code/android-sdk-macosx
    • Platform android-22, build-tools 22.0.1
    • Java(TM) SE Runtime Environment (build 1.8.0_65-b17)

[✓] iOS toolchain - develop for iOS devices (Xcode 7.3.1)
    • XCode at /Applications/Xcode.app/Contents/Developer
    • Xcode 7.3.1, Build version 7D1014

[✓] Atom - a lightweight development environment for Flutter
    • Atom installed; Flutter plugin version 0.2.2

/cc @HansMuller

Activity

  1. added
    p: material_uimaterial_ui package in flutter/packages
    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
    on May 25, 2016
  2. devoncarew commented on May 25, 2016

    @devoncarew
    Contributor

    Just FYI, above, your framework revision says its 3 months old.

  3. yjbanov commented on May 26, 2016

    @yjbanov
    ContributorAuthor

    @devoncarew It seems flutter doctor gets the date recorded in the git commit metadata. If you rebase an old commit on top of the latest it will still show the old date. The commit that I'm rebased on top of is:

    commit 4aa894984ffd21527a388543009a947818e45749
    Author: Adam Barth <[email protected]>
    Date:   Wed May 25 10:23:01 2016 -0700
    
  4. eseidelGoogle commented on Jun 17, 2016

    @eseidelGoogle
    Contributor

    This was causing a test to break, but customer: leafy worked around it by ignoring the test. :(

  5. modified the milestone: on Aug 1, 2016
  6. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Sep 12, 2016
  7. zoechi commented on Dec 28, 2018

    @zoechi
    Contributor

    I can't reproduce.

  8. github-actions commented on Aug 15, 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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.f: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions