Skip to content

scrollOffset keep growing #5742

Closed
Closed
@lequem

Description

@lequem

Hello,

I am using the LazyBlock widget to display a list with different size children.
I have put a ScrollListener on it.

When I scroll to the bottom and then I keep scrolling down, the list do not move because I have reached the end of the list but the scrollOffet value keep growing.
When I want to scroll to the top, the list start moving when I have reached the limit of the bottom.

To workaround the problem, I have set a listener on the scrollEnd Event and set max value of the bottom when the scrollOffset is over this limit.

Do not hesitate if you need further informations,

Vincent

Metadata

Metadata

Assignees

No one assigned

    Labels

    frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions