Skip to content

NestedScrollView flutter_gallery Tabs Sample the Scroll state is not right when tab the tabbar #21868

@zmtzawqlp

Description

@zmtzawqlp

please run flutter_gallery sample and open sample in Material - Tabs.
issue can be reproduced in dev/master branch, beta branch has no this issue but has crash issue.

Steps to Reproduce

  1. tap APPAREL and scroll to bottom(Blush Sweats)
  2. tap HOME and scroll the list up or down
  3. tap APPAREL the Ginger Scarf will disapper in Screen bottom

and i made a demo based on NestedScrollView. it also has this issue.
i notice that SliverOverlapAbsorber can only used for SliverAppBar, no such thing for SliverPersistentHeader. i think it also effect the scroll behaviour.
more detail please see the gif and my demo code. it's kind of you can have a look for this issue.
thanks.
demo_code.txt
19d422db240762562ac0254626ecf887

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.customer: crowdAffects or could affect many people, though not necessarily a specific customer.f: material designflutter/packages/flutter/material repository.f: scrollingViewports, list views, slivers, etc.found in release: 1.21Found to occur in 1.21frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions