dotnet / dotnet/maui

MAUI Blazor Virtualize with Images does not render properly

Open
#9,216 6 comments 0 reactions 0 assignees View on GitHub
area-blazor discussed platform/windows Priority: 2 s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

When using a virtualize component in MAUI Blazor WebView with images the rendering and scrolling is messed up (slow showing the images and infinite scrolling).
Without images everything is working as expected.

Sample Project: [GitHub](https://github.com/ipax77/MauiTest/tree/master/MauiVirtualizeTest)
Working reference with Blazor Server: [GitHub](https://github.com/ipax77/MauiTest/tree/master/VirtualizeTestServer)

### Steps to Reproduce

Create a Virtualize component with images e.g.:
```



@employee.Name

@employee.Commander1


@employee.Commander2


@employee.Commander3

@employee.EmployeeGuid
@employee.Number




Loading ...


```
The images are rendering very slowly and infinite scrolling happens occationaly.

It should work as properly as in a Blazor Server Project.

### Version with bug

6.0.400

### Last version that worked well

Unknown/Other

### Affected platforms

Windows

### Affected platform versions

windows10.0.19041.0

### Did you find any workaround?

_No response_

### Relevant log output

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked MauiVirtualizeTest sample and reproduce the Virtualize component with images on Windows MAUI Blazor WebView. Compare its behavior with the linked VirtualizeTestServer reference, focusing on slow image rendering and unexpected infinite scrolling. Done means scrolling and rendering behave properly as they do in the Blazor Server project.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
43/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.