maui icon indicating copy to clipboard operation
maui copied to clipboard

Clipping elements in MAUI leads to a degradation in scrolling performance.

Open NirmalKumarYuvaraj opened this issue 2 years ago • 4 comments

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

  1. Run the Sample from the Repo.
  2. 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

NirmalKumarYuvaraj avatar Nov 30 '23 12:11 NirmalKumarYuvaraj

@hartez thoughts?

mattleibow avatar Nov 30 '23 19:11 mattleibow

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.

ghost avatar Nov 30 '23 19:11 ghost

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.

SethupathyD avatar Aug 20 '24 12:08 SethupathyD

Can we please get this fixed? It is essentially app breaking.

Phunction1 avatar Oct 19 '24 21:10 Phunction1

Update please, is this going to be fixed or not?

Phunction1 avatar Feb 20 '25 18:02 Phunction1

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 Image

RoiChen001 avatar Feb 27 '25 07:02 RoiChen001

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.