You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a chat where I use VList with the reverse and shift props. It works well, but it's a bit laggy at times. To improve performance, I decided to use the keepMounted option for my list. However, there's an issue: when I scroll to the top and add new messages, the scroll position doesn't stay in place - it jumps somewhere else.
I suspect the problem lies in the mismatch between the sizes of elements in the original list and the updated list.
Does anyone have any ideas or suggestions on how to use VList effectively with the reverse, shift, and keepMounted props?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
First of all, thanks for the cool library!
I have a chat where I use VList with the reverse and shift props. It works well, but it's a bit laggy at times. To improve performance, I decided to use the keepMounted option for my list. However, there's an issue: when I scroll to the top and add new messages, the scroll position doesn't stay in place - it jumps somewhere else.
I suspect the problem lies in the mismatch between the sizes of elements in the original list and the updated list.
Does anyone have any ideas or suggestions on how to use VList effectively with the reverse, shift, and keepMounted props?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions