Skip to content

Tanstack Query+Virtual Suspense reactivity #874

Closed as not planned
Closed as not planned

Description

@0-don

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.

Activity

  1. piecyk commented on Oct 14, 2026

    @piecyk
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions