From 4c30abd1f67b59f8ff5fcb5648e0c3fb3c117ee3 Mon Sep 17 00:00:00 2001 From: Enzo Batista Date: Mon, 11 Dec 2023 11:15:48 -0300 Subject: [PATCH] fix(NotificationsController): re-enable dismiss notifications panel by clicking the bell --- src/Notifications/NotificationCenterController.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Notifications/NotificationCenterController.cs b/src/Notifications/NotificationCenterController.cs index b8febcc30a2..232403335ec 100644 --- a/src/Notifications/NotificationCenterController.cs +++ b/src/Notifications/NotificationCenterController.cs @@ -264,8 +264,12 @@ private void DynamoView_SizeChanged(object sender, SizeChangedEventArgs e) /// private void DynamoView_PreviewMouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e) { + string popupBellID = "FontAwesome5.FontAwesome"; if (!notificationUIPopup.IsOpen) return; - notificationUIPopup.IsOpen = false; + if(e.OriginalSource.ToString() != popupBellID) + { + notificationUIPopup.IsOpen = false; + } } ///