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.
If you're typing in search, the Sample App can crash. This appears to be a failure due to an animation based effect on the search result items. There may also be a different similar issue as @avknaidu mentioned they can repro in the existing sample app, but we have since replaced it's animations with the new animation set from #3639.
This is crashing in the Scale animation setup in the ItemContainer_PointerExited method of Shell.SamplePicker.cs which is initialized by the GridView SamplePickerGridView on each GridViewItem in SamplePickerGridView_ChoosingItemContainer.
System.ArgumentException
HResult=0x80070057
Message=The parameter is incorrect.
element
Source=<Cannot evaluate the exception source>
StackTrace:
<Cannot evaluate the exception stack trace>
at Windows.UI.Xaml.Hosting.ElementCompositionPreview.SetIsTranslationEnabled(UIElement element, Boolean value)
at Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder.Start(UIElement element) in H:\\code\\WindowsCommunityToolkit\\Microsoft.Toolkit.Uwp.UI.Animations\\Builders\\AnimationBuilder.cs:line 69
at Microsoft.Toolkit.Uwp.SampleApp.Shell.ItemContainer_PointerExited(Object sender, PointerRoutedEventArgs e) in H:\\code\\WindowsCommunityToolkit\\Microsoft.Toolkit.Uwp.SampleApp\\Shell.SamplePicker.cs:line 239
Describe the bug
If you're typing in search, the Sample App can crash. This appears to be a failure due to an animation based effect on the search result items. There may also be a different similar issue as @avknaidu mentioned they can repro in the existing sample app, but we have since replaced it's animations with the new animation set from #3639.
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
Not crash
Environment
Latest main
Additional context
FYI @Sergio0694
This is crashing in the Scale animation setup in the
ItemContainer_PointerExitedmethod ofShell.SamplePicker.cswhich is initialized by the GridViewSamplePickerGridViewon eachGridViewIteminSamplePickerGridView_ChoosingItemContainer.