Skip to content

Virtualization of a grid does not work correctly in scaled container #230

Description

@DaDom

When the parent container is scaled down (i.e. something like transform: scale(0.4)), the overscan does not work correctly. Rows and columns at the bottom / to the right are not rendered, I suppose because the calculation assumes they are not visible yet.

I have adjusted the example CodeSandbox for this scenario:
https://codesandbox.io/s/amazing-chandrasekhar-wivbo

You can see the issue with the grid:
Screen Cast 2021-12-16 at 2 23 04 PM

Is there any recommended way how to configure useVirtual for such cases, or is this simply a bug in the calculation?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions