tp7309 / flutter_sticky_and_expandable_list

粘性头部与分组列表Sliver实现 Build a grouped list, which support expand/collapse section and sticky headers, support use it with sliver widget.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding a separatorBuilder to the package's ListView example causes overlapping items

LewisHolliday opened this issue · comments

The argument passed to SliverExpandableChildDelegate:
separatorBuilder: (context, isHeader, index) { return Container(); },

Steps to reproduce:

  1. Expand some headers (Including header 0 and header 1 to allow scrolling.
  2. Close Header 0
  3. Expand Header 0
  4. Scroll down
    This will make header 1's items overlap with header 0

Visual:

issue_visual_example

Tested on:
Flutter 2.5.3, sticky_and_expandable_list: 1.0.2,
Android phone and Chrome.

thank you for your feedback, fixed at v1.0.3.