Skip to content

Commit d483a17

Browse files
authored
Update VisualElement.cs
1 parent 59262e1 commit d483a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controls/src/Core/VisualElement/VisualElement.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2155,7 +2155,7 @@ public event EventHandler? Loaded
21552155
// invoking _loaded
21562156
// This is only to make sure that new subscribers get invoked when the element is already loaded
21572157
// and a previous subscriber has already invoked the UpdatePlatformUnloadedLoadedWiring path
2158-
if (loadedAlreadyFired)
2158+
if (loadedAlreadyFired && _isLoadedFired)
21592159
{
21602160
value?.Invoke(this, EventArgs.Empty);
21612161
}

0 commit comments

Comments
 (0)