diff --git a/modules/NotifCenter.qml b/modules/NotifCenter.qml index 4e93f9f..c5d161a 100644 --- a/modules/NotifCenter.qml +++ b/modules/NotifCenter.qml @@ -71,12 +71,14 @@ M.HoverPanel { property var _collapsedGroups: ({}) function _toggleCollapse(appName) { + const savedY = notifList.contentY; const next = Object.assign({}, _collapsedGroups); if (next[appName]) delete next[appName]; else next[appName] = true; _collapsedGroups = next; + Qt.callLater(() => notifList.contentY = savedY); } // Group notifications by appName, sorted by max urgency desc then most recent time desc