dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.08k stars 1.73k forks source link

[Windows]When using Navigation deferral, flyout indicates that the selected item is incorrect #18495

Open BaY1251 opened 11 months ago

BaY1251 commented 11 months ago

Description

I make a Sample refer to Navigation deferral

When using Navigation deferral to cancel Navigation . Shell flyout indicates that the selected item is incorrect.

shell

Steps to Reproduce

Download https://github.com/BaY1251/MauiDebug.git Open /ANR/ANR.sln to compile and generate a project Running

  1. Click on Shell and Attempt to navigate to SecPage.
  2. When action sheet is displayed,click No or Cancel.
  3. Navigation is canceled but flyout indicates is incorrect

Link to public reproduction project repository

https://github.com/BaY1251/MauiDebug.git

Version with bug

8.0.0-rc.2.9373

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows10-22H2 net8.0-windows10.0.19041.0

Did you find any workaround?

No response

Relevant log output

No response

ghost commented 11 months ago

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.

XamlTest commented 11 months ago

Verified this on Visual Studio Enterprise 17.8.0 Preview 5.0(8.0.0-rc.2.9373). Repro on Windows 11 with below Project: ANR.zip

BaY1251 commented 4 months ago

如果不能解决这个问题,是否有办法隐藏这个指示呢?