Closed mysteryx93 closed 1 year ago
workaround: set DialogHost.DisableOpeningAnimation to true
yep that works. Is that a bug in Avalonia or DialogHost?
I am not sure. The closing animation should set DialogOverlayPopupHost.IsActuallyOpen to False in the last step, but for some reason it doesn't, which is causing the problem.
Hhhmm, seems like this is a DialogHost bug, i'll try to investigate this.
Should be fixed with 0.7.0-preview5
.
// I also should consider to rethink current implementation of DialogHost showing strategy... Someday...
Showing a Dialog with this; clicking away to close it, opening it a 2nd time, closing it again. On 3rd open, it throws an exception.