Dimibe / sticky_grouped_list

A ScrollablePositionedList in which items can be grouped into sections with sticky headers.
https://pub.dev/packages/sticky_grouped_list
MIT License
184 stars 71 forks source link

Item scrolls under separator when using initialScrollIndex #70

Open pimvanderheijden opened 5 months ago

pimvanderheijden commented 5 months ago

Describe the bug When using initialScrollIndex it works but the item scrolls underneath the separator.

Expected behavior The first item should be right below the separator, just like when using ItemScrollController.jumpTo.

Information: Bad image

Good image

Flutter 3.19.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 300451adae (9 weeks ago) • 2024-03-27 21:54:07 -0500
Engine • revision e76c956498
Tools • Dart 3.3.3 • DevTools 2.31.1
sticky_grouped_list: ^3.1.0