Skip to content

TwoLevelList doesn't have "bounce back" animation when over scroll for iOS. #8700

Closed

Description

@zhenqiu1101

Problem is like the title described. Android is fine.

I observed that TwoLevelList is implemented with ListView. The shrinkWrap of ListView is set to true. If I changed shrinkWrap = false, bounce back animation appears on iOS.

I simply do
new Scaffold(
appBar: new AppBar(title: 'title'),
body: new TwoLevelList(...));

Activity

  1. abarth commented on Mar 13, 2017

    @abarth
    Contributor

    Does the two-level list actually contain more content than fits on screen?

  2. mehmetf commented on Mar 13, 2017

    @mehmetf
    Contributor

    Yes. In fact, elastic overscroll works in the other direction (scrolling down) only when scrolling up and reaching to the top it does not work.

  3. modified the milestones: , 2: Make Early Adopters happy on Mar 14, 2017
  4. eseidelGoogle commented on May 5, 2017

    @eseidelGoogle
    Contributor

    Presumably this (as well as #8443) will come as part of using Slivers for two level list @Hixie?

  5. Hixie commented on May 5, 2017

    @Hixie
    Contributor

    Yeah, when we port TwoLevelList to slivers this should all be fixed automatically.

  6. mehmetf commented on Jul 17, 2017

    @mehmetf
    Contributor

    We see this fixed in our app. @zhenqiu1101 is this due to us starting to use something other than TwoLevelList or is this issue fixed?

  7. Hixie commented on Dec 13, 2017

    @Hixie
    Contributor

    TwoLevelList is deprecated and will be removed. Closing bug.

  8. added 2 commits that reference this issue on Apr 25, 2019
  9. github-actions commented on Sep 4, 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.

  10. locked as resolved and limited conversation to collaborators on Sep 4, 2021
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

    f: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions