Close dialog by clicking outside of the area only if IsBusy = false and cancel button is enabled
MODIFY
WalletWasabi.Fluent/Controls/Dialog.axaml.cs
WalletWasabi.Fluent/Controls/Dialog.axaml.cs
@@ -106,7 +106,7 @@ namespace WalletWasabi.Fluent.Controls
var overlayButton = e.NameScope.Find<Panel>("PART_Overlay");
overlayButton.PointerPressed += (_, _) =>
{
- if (EnableCancelOnPressed)
+ if (EnableCancelOnPressed && !IsBusy && IsCancelEnabled)
{
Close();
}

Close dialog by clicking outside of the area only if IsBusy = false and cancel button is enabled