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
[Bug] onIndexChanged doesn't get called on scrollToIndex #1
Comments
When calling |
I have a I also have a navigation bar which uses
that is true, but only for the scope that is calling |
Well, I can add a param for But there is one thing must be noticed, that is |
oh, because those items arent tall enough to reach the height is it possible to fix that? |
I have no idea to fix it now. And I have added a param for |
Speaking of this, I had an issue the other day where I linked a The fix to this is ignoring all index changes while Maybe this would fix your issue? |
I've seen that the |
okay considering that the |
Bug report
When using
scrollToIndex
to change the scroll offset, it seems thatonIndexChanged
is not called.Expected behaviour
onIndexChanged
gets called regardless of how the index is changedActual behaviour
onIndexChanged
is only called when manually scrollingSetup
Version:
anchor_scroll_controller: ^0.2.0
SDK constraints:
sdk: ">=2.15.1 <3.0.0"
Flutter version:
stable, 2.8.1
Platform:
web
OS:
windows
The text was updated successfully, but these errors were encountered: