-
Notifications
You must be signed in to change notification settings - Fork 494
Open
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Did you read the "Reporting a bug" section on Contributing file?
- I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
Current Behavior
Calling Shell.Current.ShowPopupAsync() will hang indefinitely when ShellNavigatingEventArgs is cancelled.
Example
protected override void OnNavigating(ShellNavigatingEventArgs args) { args.Cancel(); }
Expected Behavior
An Exception should be thrown.
Steps To Reproduce
- Override OnNavigating of Shell
- Call Cancel on ShellNavigatingEventArgs
- Hang forever
protected override void OnNavigating(ShellNavigatingEventArgs args)
{
args.Cancel();
}
Link to public reproduction project repository
TODO
Environment
- .NET MAUI CommunityToolkit:
14.0.1
- OS:
Windows
- .NET MAUI:
10.0.41Anything else?
No response
Reactions are currently unavailable