diff --git a/src/Calculator/App.xaml.cs b/src/Calculator/App.xaml.cs index a4586952..21702b66 100644 --- a/src/Calculator/App.xaml.cs +++ b/src/Calculator/App.xaml.cs @@ -440,6 +440,10 @@ namespace CalculatorApp mainPage.UnregisterEventHandlers(); + // TODO, remove this workaround after Mica fix + // Workaround app crash caused by Mica in multi-view case. + Microsoft.UI.Xaml.Controls.BackdropMaterial.SetApplyToRootOrPageBackground(mainPage, false); + await frameService.HandleViewRelease(); await Task.Run(() => {