FluentAvalonia icon indicating copy to clipboard operation
FluentAvalonia copied to clipboard

Unable to find OverlayLayer from given TopLevel

Open BuLuoPiaoYu opened this issue 7 months ago • 1 comments

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 image

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

BuLuoPiaoYu avatar Jul 23 '24 02:07 BuLuoPiaoYu