Skip to content

Does virtua have a better reverse mode than react-virtuoso? #404

Answered by inokawa
LookRain asked this question in Q&A
Discussion options

You must be logged in to vote

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 with shift prop.
https://inokawa.github.io/virtua/?path=/story/advanced-chat--default

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by inokawa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants