vue-virtual-scroller
vue-virtual-scroller copied to clipboard
Support scrollIntoItem by visible view section
trafficstars
Clear and concise description of the problem
I'm trying to do scrollbar control like spotlight in MacOS.

As can be seen from the gif, the scrollbar only changed when the view section is not be able to render the rest of items which actually in the virtual scroller.
Suggested solution
I did a simple demo and it works for me on my local laptop so i forked this project into my owns.
My idea is extending RecycleScroller, make the scrollIntoItem functional support and expose the method for developer who have same scenarios. And also I think it is very general for many scenes.
Alternative
No response
Additional context
No response
Validations
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.