Clipping elements in MAUI leads to a degradation in scrolling performance.
Description
I have developed a custom grid control by organizing rows and cells within it. However, when applying clipping to the first and last indices of cells within the view, the scrolling performance is poor on Mac. By commenting on this line of code, I was able to achieve smooth scrolling. We tried apply clipping directly in the native code. That's too affects the performance. It is working fine in Android and windows platform. I have attached the video for your reference.
https://github.com/dotnet/maui/assets/97871636/351fa907-8a60-46c8-a4fb-81e18e67575b
Steps to Reproduce
- Run the Sample from the Repo.
- Scroll Horizontally.
Link to public reproduction project repository
https://github.com/NirmalKumarYuvaraj/MacScrolling
Version with bug
8.0.3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
@hartez thoughts?
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.
Hi team,
Could you provide an update on when we might expect a fix for the above reported issue "Clipping elements in MAUI leads to a degradation in scrolling performance.?"
Thanks! Sethupathy Devarajan.
Can we please get this fixed? It is essentially app breaking.
Update please, is this going to be fixed or not?
This issue can't be reproduced at macOS on the latest VS Code1.97.2(9.0.40).
Command: dotnet publish -f net9.0-maccatalyst -c Release
Hi @NirmalKumarYuvaraj. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.