-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add grouped mode support #370
Comments
Yes, sticky item feature was asked several times, and there are no good way to do it without fork for now. It will be implemented as a feature like |
Will this support 2 levels of nesting of sections? eg. I'd like to group messages per day and per sender inside each day. In order to use native browser position: sticky; for showing sticky elements in each section. |
For now, what I'm planning for the first release is to add a functionality to keep items offscreen at any indexes. I'm not familiar to nested sticky styling. I think it depends on markup but perhaps it will work. |
I recreated sticky example based on Closing this issue because it will solve the problem originally raised. It will support |
Is your feature request related to a problem? Please describe.
Hi, it's me again :) It would be great to have some component that behaves like the storybook Sticky example. But in this example virtual list item is the whole group, which means that I cannot scroll to any item inside a group using
scrollToIndex
. Also if there are many items in one group, it will break optimisation - all group items will be rendered.Describe the solution you'd like
For references: virtuoso grouped mode, how Slack groups messages by date -
https://github.com/inokawa/virtua/assets/37265338/e39c7385-9183-42a3-86cd-96e8f2415b3b
Describe alternatives you've considered
I was thinking if it's possible to implement similar behavior on my side using VList, but no solution yet
The text was updated successfully, but these errors were encountered: