do not invoke on parent context on create

This commit is contained in:
Pilzinsel64
2025-10-10 10:06:00 +02:00
parent bcad7597a2
commit 320ef51bfd
2 changed files with 2 additions and 7 deletions

View File

@@ -57,12 +57,7 @@ partial class RadFlyoutBase
Task.Run(iLoadContentAsync.LoadContentAsync).Wait(); Task.Run(iLoadContentAsync.LoadContentAsync).Wait();
foreach (var args in flyoutCreatedHandlers.ToArray()) foreach (var args in flyoutCreatedHandlers.ToArray())
{ args.Invoke(eventArgs);
if (ParentContext != null)
ParentContext?.Invoke(args, eventArgs);
else
args.Invoke(eventArgs);
}
} }
} }

View File

@@ -9,7 +9,7 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<Version>2.14.1</Version> <Version>2.14.2</Version>
<GenerateDocumentationFile>True</GenerateDocumentationFile> <GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup> </PropertyGroup>