notifpopups: destroy event wrapper

Destroy the eventbox wrapper when notif widget is destroyed
This commit is contained in:
2 * r + 2 * t 2025-03-25 12:59:36 +11:00
parent 022016a32f
commit d1daba8aac

View file

@ -42,6 +42,7 @@ export default () => (
}}
// Close on hover lost
onHoverLost={() => popup.destroyWithAnims()}
setup={self => self.hook(popup, "destroy", () => self.destroy())}
>
{popup}
</eventbox>