Disabling then enabling screen with accordion present and mouse over causes crash
If I have a screen with an accordion present in it, and I disable the screen, then try to re-enable the screen but my mouse is hovering over the accordion, my application crashes: Cannot animate '(0).(1)' on an immutable object instance.
at System.Windows.Media.Animation.Storyboard.ProcessComplexPath(HybridDictionary clockMappings, DependencyObject targetObject, PropertyPath path, AnimationClock animationClock, HandoffBehavior handoffBehavior, Int64 layer)
at System.Windows.Media.Animation.Storyboard.ClockTreeWalkRecursive(Clock currentClock, DependencyObject containingObject, INameScope nameScope, DependencyObject parentObject, String parentObjectName, PropertyPath parentPropertyPath, HandoffBehavior handoffBehavior, HybridDictionary clockMappings, Int64 layer)
at System.Windows.Media.Animation.Storyboard.ClockTreeWalkRecursive(Clock currentClock, DependencyObject containingObject, INameScope nameScope, DependencyObject parentObject, String parentObjectName, PropertyPath parentPropertyPath, HandoffBehavior handoffBehavior, HybridDictionary clockMappings, Int64 layer)
at System.Windows.Media.Animation.Storyboard.BeginCommon(DependencyObject containingObject, INameScope nameScope, HandoffBehavior handoffBehavior, Boolean isControllable, Int64 layer)
at System.Windows.VisualStateGroup.StartNewThenStopOld(FrameworkElement element, ReadOnlySpan`1 newStoryboards)
at System.Windows.VisualStateManager.GoToStateInternal(FrameworkElement control, FrameworkElement stateGroupsRoot, VisualStateGroup group, VisualState state, Boolean useTransitions)
at System.Windows.VisualStateManager.GoToState(FrameworkElement control, String stateName, Boolean useTransitions)
at Syncfusion.Windows.Controls.Layout.VisualStates.GoToState(Control control, Boolean useTransitions, String[] stateNames)
at Syncfusion.Windows.Controls.Layout.InteractionHelper.UpdateVisualStateBase(Boolean useTransitions)
at Syncfusion.Windows.Controls.Layout.SfAccordionItem.UpdateVisualState(Boolean useTransitions)
at Syncfusion.Windows.Controls.Layout.SfAccordionItem.Syncfusion.Windows.Controls.Layout.IUpdateVisualState.UpdateVisualState(Boolean useTransitions)
at Syncfusion.Windows.Controls.Layout.InteractionHelper.UpdateVisualState(Boolean useTransitions)
at Syncfusion.Windows.Controls.Layout.InteractionHelper.OnMouseEnterBase()
at Syncfusion.Windows.Controls.Layout.SfAccordionItem.OnMouseEnter(MouseEventArgs e)
Hi Josepth,
We are unable to replicate the reported issue with the information provided. Kindly review the sample attached for your reference.
Could you please provide an updated sample that demonstrates the issue? This will help us analyze the problem more effectively and offer a suitable solution.
Regards,
K Sai Sivani
Attachment: SfAccordion_Sample_(2)_9663e3d5.zip
I've resolved the issue which was caused by another underlying issue.
Thank you.
Hi Josepth,
Thanks for the update.
We're closing this thread. Please get back to us if you need any further assistance; we will be happy to help you.
Regards,
K Sai Sivani
- 3 Replies
- 2 Participants
- Marked answer
-
JB Josepth Badrouk
- Oct 22, 2025 08:32 PM UTC
- Oct 24, 2025 05:55 AM UTC