-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Fix Flickering issue when calling Navigation.PopAsync #24887
base: main
Are you sure you want to change the base?
[Android] Fix Flickering issue when calling Navigation.PopAsync #24887
Conversation
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems is making the Windows Device tests fail , I run few times and got same results. Maybe this is causing some side effects on Windows. But maybe also rebase just to make sure branch is updated with latest .
/rebase |
16c0e0d
to
22d7398
Compare
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the failing test NavigatedFiresAfterSwitchingFlyoutItems.
|
will this ptach be merged into dotnet 8 maui? |
@ygl-rg I think at this point with .NET 9 being close to being released this will be .NET 9 only |
/rebase |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could review the failing test?
I reviewed the failing test case by running it on our machine, and it seems to be running fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move the PoppingFlyoutPageDoesntCrash
test to Appium from the Device Tests?
I have moved the specified test case to Appium. Could you please review it and let me know if you have any concerns? |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Root Cause
The flickering during navigation occurred because, when performing PopAsync, the removed page’s handlers were set to null. This caused flickering as the navigation was processed.
Description of Change
The fix involves avoiding the removal of page handlers during PopAsync, which eliminates the flickering issue during navigation.
Issues Fixed
Fixes #13810
Validated the behaviour in the following platforms
Output Screenshot
Before
366413807-f0592d6d-6b89-48b0-bab8-eed46d20336c.mp4
After
366413828-b47e24f4-68f0-44a0-b1bf-ed8dd24d1dcf.mp4