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

LayoutShift occurs when using useInfiniteLoader #174

Open
synuns opened this issue Jan 8, 2025 · 0 comments
Open

LayoutShift occurs when using useInfiniteLoader #174

synuns opened this issue Jan 8, 2025 · 0 comments

Comments

@synuns
Copy link

synuns commented Jan 8, 2025

Describe the bug

LayoutShift occurs when using useInfiniteLoader.

During the virtualization function, the redrawing of elements is recalculating the position as items are added, and we suspect that this position calculation is causing a layout shift.

To Reproduce

Steps to reproduce the behavior:

  1. go to useInfiniteLoader example
  2. scroll down so that the content is fully loaded
  3. As you scroll up and down, you can see that the layout shifts column by column
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