Damian Pieczynski

Results 116 comments of Damian Pieczynski

@KOVIKO you can't really position: sticky; on `` checkout https://css-tricks.com/position-sticky-and-table-headers/ also for tables better is to avoid the absolute positioning of virtualized items https://github.com/TanStack/virtual/discussions/476

hmm hard to say what is happening, but sticky should work, here virtualization is not adding anything special, like https://codesandbox.io/s/virtual-simple-table-cdqqpg

Yep, i agree that table examples are misleading, we should not use the absolution positions here.

Better is just point ts compiler to `setupTests.ts` file with import to `@testing-library/jest-dom` by adding it to tsconfig.json `include` option. checkout this comment https://github.com/nrwl/nx/issues/9140#issuecomment-1200073153 btw there is no need to...

This issue resolved via https://github.com/TanStack/virtual/pull/414

This should not be needed with new approach via #405, checkout latest beta!

@Mario-Eis hard to say what is happening without minimal example, are you setting correct key for the row? Default we use index as key, then in case of removing maybe...

In latest beta virtualizer expose `scrollOffset` this can be save to storage, then restore it via `initialOffset`. In dynamic case we can also store `measurementsCache` and restore it via `initialMeasurementsCache`

> @piecyk Can you write an example in fixed mode, please? @milad1367 something like this https://codesandbox.io/s/busy-haslett-9t6yge?file=/pages/index.js

> The data I am displaying is dynamic @Ugikie that is the case, basic when scroll is restored, virtualizer don't remember prev read sizes and auto adjustment kiks in, you...