Skip to content

When an item in a lazy list is being dismissed, we should keep it alive #172

Closed

Description

@FlutterIssues

Issue by Hixie
Friday Sep 25, 2015 at 19:37 GMT
Originally opened as https://github.com/flutter/engine/issues/1347


Currently, if you scroll the item being dismissed off the screen, then scroll it back, it isn't being dismissed anymore. Also, if you scroll it off and wait, after a bit the list jumps up. Not smooth.

Activity

  1. added this to the milestone on Nov 9, 2015
  2. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Nov 9, 2015
  3. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by Hixie
    Friday Sep 25, 2015 at 19:57 GMT


    This manifests really badly when you dismiss multiple items at once when you've scrolled off-screen, because once one is entirely done it resets the size cache and this requeries the items for their size, which then causes them to reappear on-screen at their original size.

    To reproduce, launch card_collection, dismiss items 0 through 6 with a short pause between each one, then scroll so the top item is item 7. Now watch as nothing happens, then suddenly items bounce up and down.

    (You'll want to increase the scheduler time dilation to 100.0 or some such.)

  4. Hixie commented on Dec 20, 2015

    @Hixie
    Contributor

    See also #105; the same fix should fix both.

  5. changed the title [-]When an item in a MixedViewport list is being dismissed, we should keep it alive[/-] [+]When an item in a lazy list is being dismissed, we should keep it alive[/+] on May 30, 2017
  6. self-assigned this
    on Jun 23, 2017
  7. github-actions commented on Aug 17, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packageswaiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions