Simple shell navigation causes Microsoft.UI.Xaml.Controls.Frame.NavigationFailed was unhandled. #22563
Labels
area-controls-shell
Shell Navigation, Routes, Tabs, Flyout
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
@BethMassi
When I click on a button that changes the IsVisible and IsEnabled of FlyoutItem(s) it causes the application to crash with a
Microsoft.UI.Xaml.Controls.Frame.NavigationFailed exception.
Steps to Reproduce
Run the application. Click on the "Click Me" button a random number of times (a lot some times)
Get the error.
When reproducing, I also occasionally see this:
Microsoft.UI.Xaml.UnhandledExceptionEventArgs
with a message of:
unable to figure out route for: //D_FAULT_FlyoutItem21/IMPL_home7/home7 (Parameter 'uri')
Link to public reproduction project repository
https://github.com/AndersenBell/maui-nav-error.git
Version with bug
8.0.40 SR5
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
Windows 10.0.17763.0
Did you find any workaround?
No. Catching the exception still causes the shell navigation to no longer work.
Relevant log output
The text was updated successfully, but these errors were encountered: