TanStack / TanStack/virtual

Scrolling "animation" for horizontal virtualizer after navigating to an item

Open
#1,050 0 comments 0 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

Scrolling "animation" for horizontal virtualizer after navigating to an item

Your minimal, reproducible example

https://tanstack.com/virtual/latest/docs/framework/react/examples/dynamic

Steps to reproduce

Is is replicable even in your examples.
https://tanstack.com/virtual/latest/docs/framework/react/examples/dynamic
Open the page, choose the 'Column' option from Nav, change the horizontal scroll position and then hover over list and see the effect! Tested in CHROME

Expected behavior

That effect should not take place.

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

e.g Chrome

tanstack-virtual version

^3.13.12

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

Start with the dynamic example at the TanStack Virtual React documentation and reproduce the issue in Chrome using the Column option. Change the horizontal scroll position, hover over the list, and trace the navigation and scrolling behavior. Done means the unexpected scrolling animation no longer appears after navigating to an item.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.