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)



3 Replies 1 reply marked as answer

KS Koppolu Sai Sivani Koppolu Ragaiah Syncfusion Team October 23, 2025 06:29 AM UTC

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


Marked as answer

JB Josepth Badrouk replied to Koppolu Sai Sivani Koppolu Ragaiah October 23, 2025 04:25 PM UTC

I've resolved the issue which was caused by another underlying issue.

Thank you.



KS Koppolu Sai Sivani Koppolu Ragaiah Syncfusion Team October 24, 2025 05:55 AM UTC

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


Loader.
Up arrow icon