Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
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.41
Anything else?
No response
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
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
protected override void OnNavigating(ShellNavigatingEventArgs args)
{
args.Cancel();
}
Link to public reproduction project repository
TODO
Environment
Anything else?
No response