Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CollectionView Scroll Performance #27248

Open
richaplinvs opened this issue Jan 21, 2025 · 2 comments
Open

CollectionView Scroll Performance #27248

richaplinvs opened this issue Jan 21, 2025 · 2 comments
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

Comments

@richaplinvs
Copy link

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

@richaplinvs richaplinvs added the t/bug Something isn't working label Jan 21, 2025
@Ying-6 Ying-6 added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage platform/iOS 🍎 platform/android 🤖 labels Jan 22, 2025
@Ying-6
Copy link

Ying-6 commented Jan 22, 2025

This issue has been verified Visual Studio 17.13 Preview 2.1 (9.0.30 & 9.0.0 & 9.0.0-rc.2.24503.2). Can repro this issue on Android & iOS platform.

@Ying-6 Ying-6 added the migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants