Skip to content

Asp.net Blazor RC1 Virtualize Component breaks with different height items #26099

@chrdlx

Description

@chrdlx

I'm having problems with the Virtualize component.... it only seems to work if all the items are exactly the same height.
In the provided example (https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-5-release-candidate-1), if a row has a text that wraps to the next line (different items heights), the whole virtualization breaks. It doesn't throw an exception but it starts rendering unrelated items, and the scroll goes anywhere.

This could be a limitation by design, but I couldn't find more information about it, so I'm filling a bug, sorry if it's not.

Regards

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions