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

Feature Request: Virtual List #1047

Open
Coinhexa opened this issue Jan 15, 2025 · 6 comments
Open

Feature Request: Virtual List #1047

Coinhexa opened this issue Jan 15, 2025 · 6 comments
Labels
feature A feature request

Comments

@Coinhexa
Copy link

Describe the feature in detail (code, mocks, or screenshots encouraged)

  • There are many examples of this
  • Idea is to create a component that only shows a subset of a large number of list items
  • Individual item layout is fully customizable
  • Supports both fixed size and variable sized items

image

What type of pull request would this be?

None

Provide relevant links or additional information.

@huntabyte huntabyte changed the title Component for rendering a virtual list with large numbers of items supporting both fixed and dynamic heights Feature Request: Virtual List Jan 15, 2025
@huntabyte huntabyte added the feature A feature request label Jan 15, 2025
@huntabyte
Copy link
Owner

I think this is a solid feature to add to the library!

@jerriclynsjohn
Copy link

I saw https://github.com/inokawa/virtua and they are good. The one thing missing is Grid.

@Coinhexa
Copy link
Author

I saw https://github.com/inokawa/virtua and they are good. The one thing missing is Grid.

Image

needs hardcoded heights, have you seen that codepen above? that one works even without hardcoded heights and widths

@jerriclynsjohn
Copy link

I saw @tanstack/svelte-virtual and it looks good, I can set children with fixed height and it works well. There's a good parity with react-virtualized

@Coinhexa
Copy link
Author

Coinhexa commented Jan 30, 2025

I saw @tanstack/svelte-virtual and it looks good, I can set children with fixed height and it works well. There's a good parity with react-virtualized

doesnt support svelte 5

Trust me, I didn't just randomly open this issue. I have gone through almost every damn virtual scroller ever made in svelte, read through every single issue that talks about support for svelte 5 before figuring out we had nothing for svelte 5 with variable item heights

@jerriclynsjohn
Copy link

Apparently, virtual lists and virtual grids are very different. inokawa/virtua#124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A feature request
Projects
None yet
Development

No branches or pull requests

3 participants