diff --git a/quickshell/Modules/Notifications/Center/NotificationCard.qml b/quickshell/Modules/Notifications/Center/NotificationCard.qml index 30af34dd..169876a3 100644 --- a/quickshell/Modules/Notifications/Center/NotificationCard.qml +++ b/quickshell/Modules/Notifications/Center/NotificationCard.qml @@ -674,8 +674,10 @@ Rectangle { onEntered: parent.isHovered = true onExited: parent.isHovered = false onClicked: { - if (modelData && modelData.invoke) + if (modelData && modelData.invoke) { modelData.invoke(); + PopoutService.closeNotificationCenter(); + } } } } @@ -813,6 +815,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 a5e667a2..8abd13b0 100644 --- a/quickshell/Modules/Notifications/Center/NotificationCenterPopout.qml +++ b/quickshell/Modules/Notifications/Center/NotificationCenterPopout.qml @@ -97,6 +97,8 @@ DankPopout { onDprChanged: updateStablePopupHeight() onShouldBeVisibleChanged: { + notificationHistoryVisible = shouldBeVisible; + if (shouldBeVisible) { NotificationService.onOverlayOpen(); updateStablePopupHeight();