FluentAvalonia
FluentAvalonia copied to clipboard
Unable to find OverlayLayer from given TopLevel
Describe the bug When I create a MainWindow form and inherit from my custom form class AvaWindow, calling ContentDialog.ShowAsync() within it raises the following exception: "Unable to find OverlayLayer from given TopLevel".
Screenshots
Desktop/Platform (please complete the following information):
- OS: Windows 11
- FluentAvalonia Version [2.1.0-preview6]
- Avalonia Version [11.1.0]
Here is the code Style and Code.zip