virtual icon indicating copy to clipboard operation
virtual copied to clipboard

fix(virtual-core): scroll to index should only retry if still targeting the same index

Open jb-chief opened this issue 2 months ago • 1 comments

🎯 Changes

When calling scrollToIndex in a tight loop, it no longer retries scrolls for outdated indices.

✅ Checklist

  • [x] I have followed the steps listed in the Contributing guide.
  • [x] I have tested and linted this code locally.
  • [x] I have generated a changeset for this PR, or this PR should not release a new version.

jb-chief avatar Oct 30 '25 00:10 jb-chief

🦋 Changeset detected

Latest commit: 0a640987f19d1732d76383b697033fd347535fbc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@tanstack/virtual-core Patch
@tanstack/angular-virtual Patch
@tanstack/lit-virtual Patch
@tanstack/react-virtual Patch
@tanstack/solid-virtual Patch
@tanstack/svelte-virtual Patch
@tanstack/vue-virtual Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Oct 30 '25 00:10 changeset-bot[bot]