I'm using Akryum/vue-virtual-scroller plugin on different tabs, how can i force vue-virtual-scroll to start from a specific scroll position programatically ?
I found 2 methods scrollToPosition
and scrollToItem
(not mentioned in the document) which is probably what you are looking for.
You can use scrollToItem
on both RecycleScroller
and DynamicScroller
components.
For scrollToPosition
can only use on RecycleScroller
but you can get RecycleScroller
component by $ref
and use it anyway.