Skip to content

Gallery, Tabs: Jumping tab body when swiping right #5094

Closed

Description

@sethladd

Open gallery, tap Tabs and scrolling, scroll the contents up, then swipe to the right.

Expected: smooth transition into the new tab body.

Actual: tab transitions to the Right, and then jumps the tab contents.

Activity

  1. added
    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
    on Jul 27, 2016
  2. HansMuller commented on Jul 27, 2016

    @HansMuller
    Contributor

    What's going on here is the demo app scrolling the new TabBarView to that it's scroll offset matches the tab you're coming from. This is because the app bar's height depends on the scroll offset and we don't want the app bar to change size when you switch tabs.

    In the short term the simplest fix for this is to change the app bar's behavior to not scroll.

    Once #4430 lands we'll revise the appbar logic that causes the problem.

  3. added this to the August milestone on Jul 27, 2016
  4. added a commit that references this issue on May 14, 2018
  5. 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.

  6. 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

No one assigned

    Labels

    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.from: reviewReported in the press

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions