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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions