Skip to content

collapsed ExpansionTile vanishes when below ListView.builder is scrolled to end  #17716

Closed

Description

@zoechi

Steps to Reproduce

TabBarView
  Column
    ExpansionTile
    Flexible
      Stack
        ListView.builder(reverse: true, ...)
        FAB

screenshot_1526635402

screenshot_1526635490

When I scroll up the ListView until the end is reached, the ExpansionTile vanishes (2nd Screenshot),
but only when the ExpansionTile is collapsed.
When it is expanded, it doesn't vanish.

For debugging purposes I wrapped the ExpansionTile in a Container with BoxConstraints(minHeight 108) (~double the size of the closed ExpansionTile), then it also doesn't vanish.

Logs

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.4.4, on Mac OS X 10.13.4 17E202, locale en-AT)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3.1)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.3)
[✓] Connected devices (2 available)

Activity

  1. zoechi commented on May 18, 2018

    @zoechi
    ContributorAuthor

    Can't reproduce with reverse: false,
    but I want to keep reverse: true of course.

  2. zoechi commented on May 18, 2018

    @zoechi
    ContributorAuthor

    Reproduction https://github.com/bwu-dart-playground/flutter_expansion_tile_listview_reverse

    It behaves a little bit different then in the screenshots above.

    image

    image

    The ExpansionTile is not disappearing, but Item 3 is appearing above the ExpansionTile even though the list is supposed to be below the ExpansionTile

  3. zoechi commented on May 18, 2018

    @zoechi
    ContributorAuthor

    Works on beta (thanks to @xqwzts)

  4. zoechi commented on May 18, 2018

    @zoechi
    ContributorAuthor

    also broken in

    [✓] Flutter (Channel master, v0.4.5-pre.43, on Mac OS X 10.13.4 17E202, locale en-AT)
    [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    [✓] iOS toolchain - develop for iOS devices (Xcode 9.3.1)
    [✓] Android Studio (version 3.1)
    [✓] IntelliJ IDEA Ultimate Edition (version 2018.1.3)
    [✓] Connected devices (1 available)
    
  5. zoechi commented on May 18, 2018

    @zoechi
    ContributorAuthor

    git bisect led to

    Author: Michael Goderbauer <[email protected]>
    Date:   Fri May 4 10:48:06 2018 -0700
    
        Implicit a11y scrolling for iOS (and caching in Viewports) (#17021)
    
    :040000 040000 d2d780742bbaeba8927ce9dd7970152b7d249ab2 3154719eb5620807f96e9bfe163d8f6b97c20a3c M      packages
    

    @goderbauer

  6. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    f: scrollingViewports, list views, slivers, etc.
    on May 18, 2018
  7. goderbauer commented on Jun 12, 2018

    @goderbauer
    Member

    @zoechi I have #18410 out for review which fixes the issue in the repro case you posted. Let me know if that's not working for your original issue.

  8. goderbauer commented on Jun 12, 2018

    @goderbauer
    Member

    See also: #17426 and #18368, which are both caused by the same root cause.

  9. github-actions commented on Sep 3, 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 3, 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.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions