-
Hi, I'm building a chat application and looking to virtualize my message list. I was looking at react-virtuoso. From react-virtuoso's example: It looks like react-virtuoso's reverse mode is achieved with In virtua's reverse mode, would that be the case? Can I assume that with reverse={true}, the starting position will by default stick to the bottom of the list, and list will render from the bottom to top? Thanks so much in advance!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If You can prepend items using react-virtuoso with |
Beta Was this translation helpful? Give feedback.
If
reverse: true
is set to virtua, the order of items are the same as react-virtuoso but items will be aligned to the end (#283).You can prepend items using react-virtuoso with
firstItemIndex
prop. With virtua, you can do the same thing withshift
prop.https://inokawa.github.io/virtua/?path=/story/advanced-chat--default