Skip to content

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

@zmtzawqlp

Description

@zmtzawqlp
Contributor

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

Activity

changed the title [-]flutter_gallery Tabs Sample the Scroll state is right when tab the tabbar[/-] [+]flutter_gallery Tabs Sample the Scroll state is not right when tab the tabbar[/+] on Sep 14, 2018
added
customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
on Sep 14, 2018
added this to the Goals milestone on Sep 14, 2018
zmtzawqlp

zmtzawqlp commented on Nov 15, 2018

@zmtzawqlp
ContributorAuthor

i have done some things to solve this thing, may be you have better solution 。please check it when you have the time.
i notice innerscrollcontrol is sync the cache scrollpostion, that the problem here.
may be we should only Focus on the active one
https://github.com/fluttercandies/extended_nested_scroll_view

changed the title [-]flutter_gallery Tabs Sample the Scroll state is not right when tab the tabbar[/-] [+]NestedScrollView flutter_gallery Tabs Sample the Scroll state is not right when tab the tabbar[/+] on Dec 20, 2018
KingWu

KingWu commented on Jun 28, 2019

@KingWu

@zmtzawqlp Awesome. i try your project. Fix the official NestedScrollView issue

firatcetiner

firatcetiner commented on Sep 20, 2019

@firatcetiner

@zmtzawqlp I can't use your plugin. The instructions are unclear for me, but thanks anyway.

zmtzawqlp

zmtzawqlp commented on Sep 20, 2019

@zmtzawqlp
ContributorAuthor

@firatcetiner do as demo show

added
frameworkflutter/packages/flutter repository. See also f: labels.
f: material designflutter/packages/flutter/material repository.
on Nov 26, 2019
Cae2

Cae2 commented on Jan 3, 2020

@Cae2

@zmtzawqlp I can't use your plugin. The instructions are unclear for me, but thanks anyway.

I didn't understand either how to use it...

Did you found another solution?

AlexV525

AlexV525 commented on Mar 4, 2020

@AlexV525
Member

@firatcetiner @Cae2 Feel free to ask about the usage for this plugin at the repository. We don't discuss about the usage here.

37 remaining items

Loading
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

    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

        Participants

        @zoechi@Hixie@DFelten@kf6gpe@KingWu

        Issue actions

          NestedScrollView flutter_gallery Tabs Sample the Scroll state is not right when tab the tabbar · Issue #21868 · flutter/flutter