TanStack / TanStack/virtual

solid-virtual: UI not updating when ```count``` changes in ```createVirtualizer``` parameters

Open
#661 5 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.1k
Forks
466
Avg merge
2d 31m
Merged PRs (30d)
13

Description

Describe the bug

UI doesn't update when changing the count signal passed as a parameter to virtualizer

Your minimal, reproducible example

https://codesandbox.io/p/devbox/solidjs-tanstack-virtual-forked-67sdkh?file=%2Fsrc%2FApp.tsx%3A14%2C6&workspaceId=2c68d57c-2197-4b47-923d-3e4f5f971951

Steps to reproduce

Change the value inside "Row count" input on top of the list to update the count signal

Expected behavior

Virtualizer should update UI to render the correct count for rows.

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

Code sandbox

tanstack-virtual version

v3.0.4

TypeScript version

No response

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the linked CodeSandbox using the Solid virtualizer and the createVirtualizer parameters. Trace how the count signal is passed and refreshed, then verify that changing the Row count input updates the rendered row count correctly in tanstack-virtual v3.0.4.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.