dotnet / dotnet/maui

[Bug] ArrangeChildren makes glitch(performance hit) on different Android API version

Open
#2,802 4 comments 0 reactions 0 assignees View on GitHub
area-layout partner perf/general s/triaged t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

I was created the custom layout and add animation to navigate between custom layout. The animation not working well on API version API 29 and above, it shows glitch based on API version.

### Steps to Reproduce

1. Run the sample, it holds animation to navigate the custom layout
2. Animate(arrange children layout) the layout through forward and backward button
3. Animation glitch shown

### Expected Behavior

- Animation glitch will not differ on API version

### Actual Behavior

- Animation glitch will differ on API version

**Replication Sample:** [MauiIssue (2).zip](https://github.com/dotnet/maui/files/7267640/MauiIssue.2.zip)

**API 30 Replication video:**

https://user-images.githubusercontent.com/44917578/135631399-b9713ff4-7a29-4777-9731-e09c70b5ebff.mp4

**API 27 Working fine video:**

https://user-images.githubusercontent.com/44917578/135631488-2555bf2d-e876-4c68-a6de-b8d0656767a6.mp4

Contributor guide

Open the contributing guide

Research direction

Start with the MauiIssue (2).zip replication sample and reproduce the ArrangeChildren animation on Android API 27 and API 30 or above. Compare the forward and backward navigation behavior shown in the linked videos; done means the animation no longer glitches differently across Android API versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.