diff --git a/dots/.config/quickshell/ii/modules/waffle/bar/BarPopup.qml b/dots/.config/quickshell/ii/modules/waffle/bar/BarPopup.qml index f000c92b0..a98a34d62 100644 --- a/dots/.config/quickshell/ii/modules/waffle/bar/BarPopup.qml +++ b/dots/.config/quickshell/ii/modules/waffle/bar/BarPopup.qml @@ -34,6 +34,10 @@ Loader { item.close(); } + function updateAnchor() { + item?.anchor.updateAnchor(); + } + active: false visible: active sourceComponent: PopupWindow { diff --git a/dots/.config/quickshell/ii/modules/waffle/bar/tray/TrayOverflowMenu.qml b/dots/.config/quickshell/ii/modules/waffle/bar/tray/TrayOverflowMenu.qml index f4d5d96d8..2b3044643 100644 --- a/dots/.config/quickshell/ii/modules/waffle/bar/tray/TrayOverflowMenu.qml +++ b/dots/.config/quickshell/ii/modules/waffle/bar/tray/TrayOverflowMenu.qml @@ -39,6 +39,7 @@ BarPopup { model: ScriptModel { values: TrayService.unpinnedItems onValuesChanged: { + root.updateAnchor(); if (values.length === 0) { root.close(); }