-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
The inner scroll view not notify outside NestedScrollView correctly. #26409
Comments
Sounds similar to #18099 |
I am having same issue with my gridview too because of the scrolllistener |
@skysukai i have resolved this by passing a ScrollController to the NestedScrollView and then listen to it for the loading more for my GridView and its fine. So i injected the ScrollController into the Widget containing the GridView and added the listener there. |
@skysukai Well the above broke the logic of the load more so i had to implement it another way. |
Solved with SingleChildScrollView. https://gist.github.com/IkhwanSI13/eb09a588096db4c88f96ad9f2faf91d1 |
The issue is still there |
I have solved this issue with wrapping the inner ListView inside a NotificationListener and listening to OverScrollNotification on that. Hope it helps someone. |
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 |
Problem
The inner scroll view do notify outside NestedScrollView in the first, but when load more data, it's not. It seems
ScrollPosition.maxScrollExtent
not change when load more data, I don't know if this is the reason.Code
Console log
Env
The text was updated successfully, but these errors were encountered: