Slow Rendering issue with Custom Control when using Clipping. #22319
Labels
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
platform/android 🤖
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
t/perf
The issue affects performance (runtime speed, memory usage, startup time, etc.)
Milestone
Description
Main Issue : when navigation the contentview , the control is displayed and then clipping happened. Both should render at same time
I created a custom control with clipping enabled. I placed this custom control in a grid within a ContentView. Then, I changed the translation position of the ContentView and reverted it back to position 0. Upon resetting the translation to 0, I changed the a busy indicator grid and custom control grid enabled. However, there is noticeable performance degradation in rendering, where the control is displayed after that clipping is happened.
We designed this layout based on our control layout. For more detailed information, please refer to the video and repository link provided below.
SlowRendering.mp4
Steps to Reproduce
Obtain the sample from the below repository
Replicate the issue as did like in the above video
Link to public reproduction project repository
https://github.com/Ahamed-Ali/SlowRendering/tree/main
Version with bug
Unknown/Other
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 11
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: