Skip to content
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保持bouncing滚动效果 #68

Closed
826327700 opened this issue Apr 7, 2021 · 3 comments
Closed

Comments

@826327700
Copy link

现在的情况是,无论是原生的NestedScrollView还是extended_nested_scroll_view,只要在body里含有滚动类的widget,比如listview,外层NestedScrollView都会失去bouncing滚动效果

@yasinarik
Copy link

yasinarik commented May 4, 2021

Here is an issue I opened long ago: #54 (Please upvote it)

I had to use Google translate but I can confirm you.

Normally, I use a NestedScroller for making all of the nested ScrollViews (it can be ListView, Slivers, Grids, etc...) to scroll as one unit.

Thus, I would like to have a behavior that the most outer scroller uses AlwaysScrollableScrollPhysics. This way, it can bounce and be over-scrolled. These two behaviors are essential for UX.

Instagram uses the described behavior on its user profile screen.

I have tried many things to achieve this but I was unsuccessful.

@himalaya-nuts
Copy link

Check my PR that fixed this issue: #73

@zmtzawqlp
Copy link
Member

the same as #54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants