diff --git a/quickshell/Modules/Notifications/Center/NotificationCard.qml b/quickshell/Modules/Notifications/Center/NotificationCard.qml index 46194679..c20db57a 100644 --- a/quickshell/Modules/Notifications/Center/NotificationCard.qml +++ b/quickshell/Modules/Notifications/Center/NotificationCard.qml @@ -727,8 +727,10 @@ Rectangle { onEntered: parent.isHovered = true onExited: parent.isHovered = false onClicked: { - if (modelData && modelData.invoke) + if (modelData && modelData.invoke) { modelData.invoke(); + PopoutService.closeNotificationCenter(); + } } } } @@ -866,6 +868,7 @@ Rectangle { onClicked: { if (modelData && modelData.invoke) { modelData.invoke(); + PopoutService.closeNotificationCenter(); } } } diff --git a/quickshell/Modules/Notifications/Center/NotificationCenterPopout.qml b/quickshell/Modules/Notifications/Center/NotificationCenterPopout.qml index b7b616b8..809d0446 100644 --- a/quickshell/Modules/Notifications/Center/NotificationCenterPopout.qml +++ b/quickshell/Modules/Notifications/Center/NotificationCenterPopout.qml @@ -137,6 +137,8 @@ DankPopout { onDprChanged: updateStablePopupHeight() onShouldBeVisibleChanged: { + notificationHistoryVisible = shouldBeVisible; + if (shouldBeVisible) { NotificationService.onOverlayOpen(); updateStablePopupHeight();