We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59ac68e commit c8292f6Copy full SHA for c8292f6
components/MarqueeText/src/MarqueeText.cs
@@ -72,7 +72,11 @@ protected override void OnApplyTemplate()
72
_marqueeTransform = (TranslateTransform)GetTemplateChild(MarqueeTransformPartName);
73
74
_marqueeContainer.SizeChanged += Container_SizeChanged;
75
- Unloaded += MarqueeText_Unloaded;
+
76
+ // Swapping tabs in TabView caused errors where the control would unload and never reattach events.
77
+ // Hotfix: Don't detach events. This should be fine because the GC will handle it.
78
+ // However, more research is required.
79
+ //Unloaded += MarqueeText_Unloaded;
80
81
VisualStateManager.GoToState(this, GetVisualStateName(Direction), false);
82
VisualStateManager.GoToState(this, GetVisualStateName(Behavior), false);
0 commit comments