-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When using a CollectionView on Windows with a complex datatemplate (the issue is more exaggerated the more complex data template), you will observe ghosting while scrolling and low performance. Scrolling will "stutter" and mutating the datatemplate (setting a visibility property from true to false) in bulk can sometimes cause a COMException
and a crash (no stack trace, COMException
is empty even with Just My Code disabled and mixed debugging on).
The below video is captured running in release mode.
PoorCVRepro_kU7gkx43ey.mp4
Expected Behavior
High performance scrolling with no "jittering", no crashing when children dynamically updated, just generally more stable.
Steps To Reproduce
- Create a collectionview binded to ~2000 items
- Create a complex datatemplate. The more complex the datatemplate, the better.
- Scroll to observe poor performance, jittering, ghosting.
- Mutate the children in bulk (for example, bind to a
Visible
property and set half of them toFalse
- Observe crash (sometimes)
Link to public reproduction project repository
https://github.com/daltzctr/PoorCVRepro
Environment
- .NET MAUI CommunityToolkit: None
- OS: Windows 11 26100.4946
- .NET MAUI: .NET 10 Preview 7
Anything else?
No response
Metadata
Metadata
Assignees
Labels
No labels