vue-virtual-scroller icon indicating copy to clipboard operation
vue-virtual-scroller copied to clipboard

Support scrollIntoItem by visible view section

Open Matrixbirds opened this issue 2 years ago • 0 comments
trafficstars

Clear and concise description of the problem

I'm trying to do scrollbar control like spotlight in MacOS. scroll-demo

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.

Matrixbirds avatar Dec 30 '22 08:12 Matrixbirds