Skip to content

Conversation

@piecyk
Copy link
Collaborator

@piecyk piecyk commented Jan 4, 2026

🎯 Changes

This PR enables reliable smooth scrolling in dynamic lists.

Nagranie.z.ekranu.2026-01-4.o.23.10.57.mov

Limitations

This approach assumes a virtualization strategy where the list is moved as a whole (for example via a single positional offset/translate, or by using before/after spacers).

Virtualization strategies that reposition individual items during scrolling may still show visible jitter or misalignment when smooth scrolling is combined with dynamic size updates, since item measurements are intentionally deferred while smooth scrolling is in progress.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • x ] I have tested this code locally with pnpm run test:pr.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

@changeset-bot
Copy link

changeset-bot bot commented Jan 4, 2026

⚠️ No Changeset found

Latest commit: 006a60c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@nx-cloud
Copy link

nx-cloud bot commented Jan 4, 2026

View your CI Pipeline Execution ↗ for commit 006a60c

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 2m 6s View ↗
nx run-many --target=build --exclude=examples/** ✅ Succeeded 16s View ↗

☁️ Nx Cloud last updated this comment at 2026-01-07 21:33:46 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 4, 2026

More templates

@tanstack/angular-virtual

npm i https://pkg.pr.new/@tanstack/angular-virtual@1108

@tanstack/lit-virtual

npm i https://pkg.pr.new/@tanstack/lit-virtual@1108

@tanstack/react-virtual

npm i https://pkg.pr.new/@tanstack/react-virtual@1108

@tanstack/solid-virtual

npm i https://pkg.pr.new/@tanstack/solid-virtual@1108

@tanstack/svelte-virtual

npm i https://pkg.pr.new/@tanstack/svelte-virtual@1108

@tanstack/virtual-core

npm i https://pkg.pr.new/@tanstack/virtual-core@1108

@tanstack/vue-virtual

npm i https://pkg.pr.new/@tanstack/vue-virtual@1108

commit: 006a60c

@piecyk piecyk force-pushed the fix/smooth-scrolling branch 2 times, most recently from 955a044 to a7382bb Compare January 6, 2026 11:55
@piecyk piecyk force-pushed the fix/smooth-scrolling branch from a7382bb to 006a60c Compare January 7, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant