Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note that block jumps in unintuitive ways. #910

Open
2 tasks done
kmpeeduwee opened this issue Jan 7, 2025 · 0 comments
Open
2 tasks done

Note that block jumps in unintuitive ways. #910

kmpeeduwee opened this issue Jan 7, 2025 · 0 comments

Comments

@kmpeeduwee
Copy link

Describe the bug

When the top face of the block is at the top (invisible), pressing the button adds a blue rectangle, but the block itself grows upward while its lower part remains in place. It should be the opposite. If the block is fully visible, everything works as it should.

Your minimal, reproducible example

https://codesandbox.io/p/devbox/gallant-sun-f6gmp9?workspaceId=ws_VgNsJVVZEmm7CqrvpZ8GN2

Steps to reproduce

1 Move the block that we want to expand so that its top part is not visible.
2 Press the Expand button.

Expected behavior

The block should expand downward.

How often does this bug happen?

Every time

Screenshots or Videos

Normal behavior (full block visible) :
https://github.com/user-attachments/assets/2b75cf6e-de70-460e-b476-6312516511f6

Non-normal behavior (part block visible) :
https://github.com/user-attachments/assets/9b2bf3af-2d96-404e-ba17-bdc89d1447bc

Platform

Linux Fedora 41, mac os 15, firefox 133, chrome 131

tanstack-virtual version

3.10.9, 3.11.2

TypeScript version

5.7.2

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.
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

No branches or pull requests

1 participant