-
Notifications
You must be signed in to change notification settings - Fork 28.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NestedScrollView flutter_gallery Tabs Sample the Scroll state is not right when tab the tabbar #21868
Comments
i have done some things to solve this thing, may be you have better solution 。please check it when you have the time. |
@zmtzawqlp Awesome. i try your project. Fix the official NestedScrollView issue |
@zmtzawqlp I can't use your plugin. The instructions are unclear for me, but thanks anyway. |
@firatcetiner do as demo show |
I didn't understand either how to use it... Did you found another solution? |
@firatcetiner @Cae2 Feel free to ask about the usage for this plugin at the repository. We don't discuss about the usage here. |
Encountered the same issues on my end, this feature is quite trivial for more complex apps. How come this hasn't been fixed yet? Tried on latest Master & Beta channels as of today but these issues are still the case for me: Scaffold with as body -> NestedScrollView, which contains the following:
|
same here. it's a big issue, actually. |
Persists with current master flutter doctor -v
|
Bump. Issue still persists. Using TabView within a NestedScrollView |
did anyone found the solution? exteneded_nested_scroll_view documentation is not clear. and there is not full code. |
I found the same problem. 😐 |
I found the same problem. 😐 |
@zhaopingfu I found a solution in this video https://www.youtube.com/watch?v=ht76lDzPgUQ that they were adding a PageStorageKey to each ListView or GridView inside the tabs and to avoid using KeepAlive because it doesn't allow scrolling to be undone and redone when changing the page. |
* Breaking change: 1. refactor [ExtendedNestedScrollView]. 2. add [ExtendedNestedScrollView.onlyOneScrollInBody] to solve scroll sync issues(flutter/flutter#21868). 3. remove [ExtendedNestedScrollView.innerScrollPositionKeyBuilder] and [NestedScrollViewInnerScrollPositionKeyWidget].
* Breaking change: 1. refactor [ExtendedNestedScrollView]. 2. add [ExtendedNestedScrollView.onlyOneScrollInBody] to solve scroll sync issues(flutter/flutter#21868). 3. remove [ExtendedNestedScrollView.innerScrollPositionKeyBuilder] and [NestedScrollViewInnerScrollPositionKeyWidget].
Same issue here.
Unfortunately when using a PageStorageKey there is an other bug for tabs within a nested scroll view. |
solved ,do this |
请问i这个代码写在哪里解决这个问题的 |
Can confirm that issue still exists in 2.8.1 The library suggested above (https://github.com/fluttercandies/extended_nested_scroll_view) helped to solve the problem. |
Why does this problem still exist |
The issue is still present on version 3.0.4 |
3.3.10 still ++ |
is there a solution to the problem |
https://github.com/fluttercandies/extended_nested_scroll_view use version ^5.0 solved |
Saved my life thx bro <3 |
@tanlianghao check this https://github.com/fluttercandies/extended_nested_scroll_view |
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 |
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
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
The text was updated successfully, but these errors were encountered: