summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorkotontrion <[email protected]>2025-01-13 09:13:05 +0100
committerkotontrion <[email protected]>2025-01-13 09:13:05 +0100
commitcac0fc63bfe098b26753db8262f5d95ac42b281b (patch)
treef85caf680b215a225bb6ee143c548ce6155b3af8 /examples
parent6fd7ae514af36ff9baf1209a2eeebd3a26cf94ce (diff)
notification example: fix implicit destroy
the notificationsMap holds references to the notification widgets, therefore the box should not destroy the widgets in the bind
Diffstat (limited to 'examples')
-rw-r--r--examples/js/notifications/notifications/NotificationPopups.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/js/notifications/notifications/NotificationPopups.tsx b/examples/js/notifications/notifications/NotificationPopups.tsx
index 9b84d84..13fdd88 100644
--- a/examples/js/notifications/notifications/NotificationPopups.tsx
+++ b/examples/js/notifications/notifications/NotificationPopups.tsx
@@ -98,7 +98,7 @@ export default function NotificationPopups(gdkmonitor: Gdk.Monitor) {
gdkmonitor={gdkmonitor}
exclusivity={Astal.Exclusivity.EXCLUSIVE}
anchor={TOP | RIGHT}>
- <box vertical>
+ <box vertical noImplicitDestroy>
{bind(notifs)}
</box>
</window>