diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx
index ee2d460..ed8a27c 100644
--- a/src/components/ui/dialog.tsx
+++ b/src/components/ui/dialog.tsx
@@ -5,6 +5,7 @@ import type * as React from "react";
import { RxCross2 } from "react-icons/rx";
import { cn } from "@/lib/utils";
+import { WindowDragArea } from "../window-drag-area";
function Dialog({
...props
@@ -38,11 +39,13 @@ function DialogOverlay({
+ >
+
+
);
}
@@ -57,7 +60,7 @@ function DialogContent({
);
@@ -115,7 +118,7 @@ function DialogDescription({
return (
);
diff --git a/src/components/window-drag-area.tsx b/src/components/window-drag-area.tsx
index 0eee23e..7879144 100644
--- a/src/components/window-drag-area.tsx
+++ b/src/components/window-drag-area.tsx
@@ -33,7 +33,7 @@ export function WindowDragArea() {
void startDrag();
};
- // Only render on macOS
+ // Only render on macOS and when no dialogs are open
if (!isMacOS) {
return null;
}
@@ -41,20 +41,11 @@ export function WindowDragArea() {
return (