MessageBox.Avalonia
MessageBox.Avalonia copied to clipboard
Await ShowDialog in ShowWindowDialogAsync
I was facing an issue when using ShowWindowDialogAsync and then immediately showing a file dialog afterwards in which the main window would not regain focus and would not be interactible as if the dialog was still present. Awaiting ShowDialog seems to fix this.