You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Getting a Null Reference exception when navigating away from a sample page that is animating.
Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:
Steps to Reproduce
Can this be reproduced in the Sample App? (Either in a sample as-is or with new XAML pasted in the editor.) If so, please provide custom XAML or steps to reproduce. If not, let us know why it can't be reproduced (e.g. more complex setup, environment, dependencies, etc...)
Describe the bug
Getting a Null Reference exception when navigating away from a sample page that is animating.
Steps to Reproduce
Steps to reproduce the behavior:
Looks like
targetis null here:WindowsCommunityToolkit/Microsoft.Toolkit.Uwp.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Composition.cs
Line 135 in fa96904
Expected behavior
Not crash
Screenshots
Environment
NuGet Package(s): Animation
Package Version(s): latest main
Windows 10 Build Number:
App min and target version:
Device form factor:
Visual Studio version:
Additional context
FYI @Sergio0694