Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support scrollIntoItem by visible view section #779

Open
2 tasks done
Matrixbirds opened this issue Dec 30, 2022 · 0 comments
Open
2 tasks done

Support scrollIntoItem by visible view section #779

Matrixbirds opened this issue Dec 30, 2022 · 0 comments

Comments

@Matrixbirds
Copy link

Matrixbirds commented Dec 30, 2022

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

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant