maui
maui copied to clipboard
Collection View Scrolling Not Smooth on iOS 18 (Version 8.0.92), While Versions 8.0.40 and iOS 17 Perform Smoothly
Description
I am experiencing significant lag when attempting to scroll in the CollectionView with .NET MAUI version 8.0.92 on iOS 18. When I downgrade to .NET MAUI version 8.0.40, the lag is somewhat reduced, but it remains noticeably bothersome. However, with version 8.0.4, the application runs smoothly on an below iOS 18 devices without any lag. In summary:
.NET MAUI 8.0.92 on iOS 18: Severe lag during scrolling. .NET MAUI 8.0.40 on iOS 18: Reduced lag but still disruptive. .NET MAUI 8.0.4 on devices running iOS versions below 18: CollectionView operates perfectly with zero lag.
Steps to Reproduce
Reproduction app maui version 8.0.4 run application below ios 18 and see there is no lag when scrolling. then change maui version 8.0.92 run application on ios 18 and see significant lag. then change maui version 8.0.4 run application on ios 18 and there is still lag but less than 8.0.92
Link to public reproduction project repository
https://github.com/alpayclsr1/CollectionViewPerformanceIssueReproductionApp.git
Version with bug
8.0.92 SR9.2
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.40 SR5
Affected platforms
iOS
Affected platform versions
iOS 18
Did you find any workaround?
No response
Relevant log output
No response
We've found some similar issues:
- #24224 , similarity score: 81%
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
Note: You can give me feedback by 👍 or 👎 this comment.
This issue has been verified using Visual Studio 17.12.0 Preview 3(8.0.92& & 8.0.80 & 8.0.60 & 8.0.40). Can repro this issue on iOS platform.
Did you manage to sort this out or get some workaround?
@ssbssb-cmd As a workaround We are generating an IPA using macOS (which hasn’t been updated Sequoia), Xcode 15.4, and MAUI version 8.0.4, collectionview works well on iOS 18 devices.This is not a solution of course.
@alpayclsr1
can you test the following nightly build version
8.0.100-ci.net8.24556.5
https://github.com/dotnet/maui/wiki/Nightly-Builds
Yes, I tested on version 8.0.100-ci.net8.24556.5 with Xcode version 16.0 on an iOS 18 device, it’s much better than 8.0.92—the scrolling is smooth now.
@alpayclsr1 thank you for checking!
Going to close this issue as fixed by https://github.com/dotnet/maui/pull/25696