Skip to content

Issue with the scrolling performance #5

Open

Description

@numen31337

In case of using animateTo or even jumpTo function to scroll the table to some target area, every single cell on the way will be rendered.
This feature is completely unusable when using for jumping to some area of a long list (500 items and more) as it will render every single cell on the way to the target. I would expect at least jumpTo function to avoid rendering every single cell on the way.

Activity

  1. Realank commented on Mar 26, 2019

    @Realank
    Owner

    Thank you for submitting this great issue, it's a problem, but the render things are handled by flutter framework itself, I just wrapped ListView widget, jumpTo method is also ListView's, so I have no idea to improve the performance of this package currently, do you have any ideas about this? thanks

  2. numen31337 commented on Mar 26, 2019

    @numen31337
    ContributorAuthor

    I‘m a new to the Flutter ecosystem as we all are :) Unfortunately it's hard for me to purpose some solution right away. I will look into this issue a bit later and purpose something if I will come up with some ideas.

  3. jizhigang commented on Apr 10, 2019

    @jizhigang

    If I want to use the refresh function, do I need to determine the height of each cell?

  4. numen31337 commented on Apr 15, 2019

    @numen31337
    ContributorAuthor

    Here is the relevant discussion, just for reference flutter/flutter#12319

  5. jizhigang commented on Apr 15, 2019

    @jizhigang
  6. Realank commented on Apr 16, 2019

    @Realank
    Owner

    @jizhigang no you shouldn't. height is necessary for calculating scroll offset related callbacks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions