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

Q: Does it destroy elements not (anymore) in the visible Window? #23

Closed
hulk66 opened this issue Feb 16, 2022 · 1 comment
Closed

Q: Does it destroy elements not (anymore) in the visible Window? #23

hulk66 opened this issue Feb 16, 2022 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@hulk66
Copy link

hulk66 commented Feb 16, 2022

Given you have a very large list of elements (10 of thousands), will it destroy those elements that are no longer visible anymore because the user has scrolled over them already? Otherwise I suppose performance will go down, if there are too many objects in the DOM.

Hope the question is clear & Thanks

@Mikescops
Copy link
Owner

Hello,

Thanks for your question, indeed that's the whole purpose of this module, be able to do virtual scrolling (also known as windowing).

You can check the live example here: https://vue-virtual-grid.netlify.app/
Open the browser console and see the DOM moving as you scroll 😄

@Mikescops Mikescops self-assigned this Feb 17, 2022
@Mikescops Mikescops added the question Further information is requested label Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants