From d37ab735eaafe3c5f98656036358a7b0d0fbb165 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Thu, 4 Mar 2021 20:56:47 +0800 Subject: [PATCH] fixed a bug of Drawer --- src/Shared/HandyControl_Shared/Controls/Other/Drawer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Shared/HandyControl_Shared/Controls/Other/Drawer.cs b/src/Shared/HandyControl_Shared/Controls/Other/Drawer.cs index cd87b3f09..7bc5df10c 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/Drawer.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/Drawer.cs @@ -70,6 +70,8 @@ private void Drawer_Unloaded(object sender, RoutedEventArgs e) { _storyboard.Completed -= Storyboard_Completed; } + + _container = null; } private static void DataContextPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) =>