diff --git a/apps/web/src/components/ThreadNotificationCoordinator.tsx b/apps/web/src/components/ThreadNotificationCoordinator.tsx index 69e38f32a3031..b6b6b119947e2 100644 --- a/apps/web/src/components/ThreadNotificationCoordinator.tsx +++ b/apps/web/src/components/ThreadNotificationCoordinator.tsx @@ -17,6 +17,7 @@ import { import { useEffect, useEffectEvent, useRef } from "react"; import { getClientSettings, useClientSettings } from "../hooks/useSettings"; +import { isWindowsPlatform } from "../lib/utils"; import { useEnvironmentIds } from "../state/environments"; import { environmentShell } from "../state/shell"; import { @@ -196,6 +197,8 @@ function EnvironmentNotifications({ body: thread.title, tag: threadNotificationTag(environmentId, thread.id), silent: true, + // Windows drops clicks after a toast moves into Notification Center. + requireInteraction: kind === "completion" && isWindowsPlatform(navigator.platform), }); onNotification(environmentId, notification); notification.addEventListener("click", () => {