Damian Pieczynski
Damian Pieczynski
There are few issues here, overfall tables don't quite like when rows are positions absolute, one option is to change the positioning strategy by adding before/after row that will move...
hmm that is interesting, the scroll backward is bit tricky, we are measuring and adjusting scroll position to remove this jumping, and it was working great for us. Also keep...
@nconfrey it's pretty simple, for elements above scroll offset we adjust scroll position with the difference https://github.com/TanStack/virtual/blob/main/packages/virtual-core/src/index.ts#L662-L673
> Is there any solution to this? Can you create an minimal reproducible example? It should work out of box, just testes dynamic example on safari and looks fine. >...
> I am encountering the same issue with react-virtuoso as you are. Is there any update on this problem? hmm as mention above the size changes when scrolling up that...
Maybe caching total size when scrolling backward also should limit the jumping, overall please share examples then i can have a look.
@thedivac could share a link to codesandbox to checkout the implementation
> Here you go: https://codesandbox.io/p/devbox/fullscreen-error-in-desktop-safari-c9l4ym @thedivac looks like a safari bug, we can try to patch it like this https://codesandbox.io/p/devbox/fullscreen-error-in-desktop-safari-forked-zgcnq5?file=%2Fsrc%2Findex.css
This is interesting, looks like it's connected how borders are handled in table by browser.
@ak274 best is to change positioning strategy, checkout this comment https://github.com/TanStack/virtual/issues/640#issuecomment-1885029911 same as @nrc2539 was suggesting