Skip to content
Source
Sign inSign up
TanStack/virtual

Tanstack Query+Virtual Suspense reactivity #874

Closed0-don(GitHub profile, opens in a new tab) opened this issue 1 comment

Describe the bug

I am having problems with suspense and query+virtual displaying the virtual list, using it without virtual and only query works fine though

Your minimal, reproducible example

https://stackblitz.com/edit/solidjs-templates-ztdgo1

Steps to reproduce

Just comment out suspense to see that it works afterwards

Expected behavior

tanstack virtual should work with suspense and tanstack query

How often does this bug happen?

Often

Screenshots or Videos

No response

Platform

Linux

tanstack-virtual version

latest

TypeScript version

latest

Additional context

No response

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
  1. Closing as a duplicate of #1011, which tracks Solid + <Suspense> rendering no rows and has the workarounds. Meanwhile, getScrollElement: () => el?.isConnected ? el : null avoids it.

  2. piecyk closed this

Sign in to join this conversation.