Skip to content

LayoutShift occurs when using useInfiniteLoader #174

Description

@synuns

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions