TanStack

T

TanStack

TanStack is a community of passionate software engineers striving for high-quality, open-source software for web devs

Join

react-query-questions

solid-query-questions

table-questions

virtual-questions

router-questions

react-charts-questions

ranger-questions

vue-query-questions

svelte-query-questions

bling-questions

form-questions

angular-query-questions

start-questions

db-questions

start-showcase

router-showcase

📣-announcements

adverse-sapphire
adverse-sapphire10/6/2022

Any pitfalls or reason to not have multiple records in a row when using useWindowVirtualizer?

Use case is infinite scroll where each row contains three records
other-emerald
other-emerald10/6/2022

Smooth Scrolling Example

Hi, I'm new to react-virtual and have just been checking out your examples. In particular, I'm interested in the "Smooth Scrolling" example. However, it doesn't seem to be working at the moment. Any idea what's wrong with it? https://tanstack.com/virtual/v3/docs/examples/react/smooth-scroll...
fair-rose
fair-rose10/4/2022

Is there a way to reset virtualizer?

I'm using the virtualizer with solidjs and also table. I have an issue where when I change things, like for example the column order, the rows don't rerender until I scroll past them
genetic-orange
genetic-orange10/2/2022

Example with vanilla html table + tr for rows? (v2)

Does anyone know of an example (or if its possible) to virtualize a vanilla html table? I can see a lot of examples online using react-table but we've already got a bunch of vanilla html tables + custom styling that want virtualizing.
No description
ratty-blush
ratty-blush9/27/2022

Is it okay to call rowVirtualizer.getVirtualItems() multiple times?

I'm looking at examples codesandbox and it feels like you can do something like const items = rowVirtualizer.getVirtualItems() and do not call that function 3 times inside the same render. Which begs the question, why is it written this way? My hunch is that this function is probably just an accessor and calling almost the same performance as if it was rowVirtualizer.virtualItems https://codesandbox.io/s/github/tanstack/virtual/tree/beta/examples/react/infinite-scroll?from-embed=&file=/src/m...