[.NET 8]Shell's return arrow appears on the mainpage. #18867
Description
Description
When using Shell navigation to return to the main page from other pages, a return arrow will briefly appear on the left side of the Shell on the main interface. This problem is currently only found on the Android platform (the framework is .NET 8) in .NET 7 and .NET 6 There is no such problem above, here is a video example:
2023-11-18.151431.mp4
Steps to Reproduce
1.Create a .NET MAUI ContentPage(XAML), and keep the default page for the new page.
2.Follow https://learn.microsoft.com/zh-cn/dotnet/maui/fundamentals/shell/navigation?view=net-maui-8.0 to register the route of the newly created ContentPage.Like this:
Routing.RegisterRoute(nameof(NewPage), typeof(NewPage));
3.Change the background code of the "Click Me" button to the execution navigation that jumps to the new page. Like this: Shell.Current.GoToAsync(nameof(NewPage));
4.Compile and run on Android platform. Just like the uploaded video, click the "Click Me" button to jump to a new page and return to the main interface. A return arrow will briefly appear on the left side of the Shell on the main interface.
Link to public reproduction project repository
https://github.com/GXSA-Qi/MAUIIssueInShell.git
Version with bug
8.0.3
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
7.0.101
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response