CollectionView Scroll Performance #27248
Labels
migration-compatibility
Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert
platform/android 🤖
platform/iOS 🍎
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Description
The scroll performance in .NET MAUI’s CollectionView is significantly worse compared to ListView in Xamarin.Forms. This issue becomes more noticeable as the complexity of the DataTemplate increases. In our scenario, we are experiencing severe lag when using CollectionView in a real-world app where the DataTemplate includes multiple elements.
Steps to Reproduce
Run the reproduction project on the simulators , load the list page and scroll up and down. Scrolling in CollectionView is noticeably laggy, with stutters. The issue becomes more pronounced as the complexity of the DataTemplate increases.
Link to public reproduction project repository
https://github.com/richaplinvs/reproduction-projects/tree/main/maui/CollectionViewPerformance
Version with bug
9.0.0 GA
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
android35.0, ios18.0
Did you find any workaround?
The only workaround we’ve identified is reducing the content or complexity of the DataTemplate. However, this is not a feasible solution for our application, as it significantly limits the functionality already offered to the user.
Relevant log output
The text was updated successfully, but these errors were encountered: