Fixed List header with React Virtuoso

299 Views Asked by At

We can add a custom header to the list by using the components property of React virtuoso. (Link)

But can the header also be configured to be fixed? (always at the top of the scroll container) How?

This feature seems to exist for tables, but I need it for lists.

I will work around this for now using the topItemCount property, but this feels rather hacky. Looking for the "intended" solution here.

0

There are 0 best solutions below