Skip to content

Blazor Virtualize Feature Bug with Scaled Elements Causing Scroll Errors #59354

@yukking

Description

@yukking

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When enabling the Virtualize feature in Blazor, if an element is set with scale, scrolling the table displays errors, resulting in flickering.

This issue was observed after Chrome version 128, likely due to the standardized CSS zoom property causing Blazor Virtualize feature to miscalculate heights.

Expected Behavior

The table should scroll smoothly without any visual distortions, even when elements are scaled.

Steps To Reproduce

Open https://aspnet.github.io/quickgridsamples/virtualizing

Set the body element's scale style to 0.75

Scroll the table and observe the visual errors.

Exceptions (if any)

No response

.NET Version

.net 9

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions