-
Notifications
You must be signed in to change notification settings - Fork 71
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
scrollTo, jumpTo to the last index #39
Comments
How can I scroll to the last item? |
how to scroll to last index Im having same issue where I dont have enough space to scroll to last items and it bounce back to the top |
@anthonycuervo23 @eul @dmk3141618 Try this:
Please remember to add this:
to your StickyGroupedListView after its declaration, like this:
after adding
to your pubspec.yaml |
Thanks @waqadArshad but I still face the same behavior no matter if is the first or last index
|
@anthonycuervo23 Hi, what do u mean by "where I dont have enough space to scroll to last items". I mean why don't u have space to scroll to last item? it's a listView |
I was able to resolve this issue assigning bottom padding to |
If I try to jumpTo the last index
groupedItemScrollController.jumpTo(index: items.length - 1);
Can not scroll to the item because there isn't any padding on the bottom.
So it is flickering.
Even it is not the last index, some item in the middle of the end page's position, it can not scroll to that item.
Scroll will try to forcibly scroll to it but can not reach because it is already bottom of the total items.
So I think it needs
The text was updated successfully, but these errors were encountered: