superlistapp / super_sliver_list

Drop-in replacement for SliverList and ListView that can handle large amount of items with variable extents and reliably jump / animate to any item.
https://superlistapp.github.io/super_sliver_list/
MIT License
277 stars 15 forks source link

The list with sticky headers has performance issue #22

Closed amrgetment closed 6 months ago

amrgetment commented 6 months ago

While scrolling the list which contains a sticky header it has lagging and slow scrolling even with just 1000 items only Here is a sample of the live demo

https://github.com/superlistapp/super_sliver_list/assets/149420647/a1c568ee-f49e-4721-aa72-779dcb36efee

amrgetment commented 6 months ago

@knopp I opened an issue here, actually most of listviews libraries have performance issue when you add sticky header

knopp commented 6 months ago

On the right is SliverList, which is the original widget from Flutter. On the left is SuperSliverList, which is the new widget, that doesn't have the performance issues.

amrgetment commented 6 months ago

@knopp Wow, it is really very fast one missing feature: how to get the first visible item so I can update the side alphabets for contacts list like Google contacts or Samsuang contacts?

Should I open new issue for this feature?

image

knopp commented 6 months ago

Please do. That seems like it would be a useful addition.