Skip to content

AnimatedList/ListView missing elements on scroll #59819

@prvenk25

Description

@prvenk25

When updating a list in the middle of a scroll, animated list does not render all elements. Everything works as expected if the list is updated while scroll position is in the beginning of the list.

Steps to Reproduce

https://dartpad.dev/5ea587e079e7a05f4954cfd680e3f71c

  1. Scroll to middle/end of list.
  2. Press 'Show' to unhide elements
  3. Scroll up, list breaks, doesn't show all elements

Expected results: List should load all elements

Actual results: List stops loading at random.

Metadata

Metadata

Assignees

Labels

f: scrollingViewports, list views, slivers, etc.found in release: 1.17Found to occur in 1.17found in release: 1.19Found to occur in 1.19found in release: 1.20Found to occur in 1.20frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions