diff --git a/src/components/ResizeHandles.tsx b/src/components/ResizeHandles.tsx
index bb11241..f6068a3 100644
--- a/src/components/ResizeHandles.tsx
+++ b/src/components/ResizeHandles.tsx
@@ -31,7 +31,7 @@ export default function ResizeHandles() {
{handles.map(({ edge, style }) => (
{ if (e.button === 0) win.startResizeDragging(edge); }}
+ onMouseDown={e => { if (e.button === 0) { e.preventDefault(); win.startResizeDragging(edge); } }}
style={{ position: "fixed", zIndex: 9999, ...style }}
/>
))}
diff --git a/src/components/TitleBar.tsx b/src/components/TitleBar.tsx
index f40c2dd..eb6fa93 100644
--- a/src/components/TitleBar.tsx
+++ b/src/components/TitleBar.tsx
@@ -23,6 +23,7 @@ export default function TitleBar({ onOpenSettings }: Props) {
function handleDragMouseDown(e: React.MouseEvent) {
if (e.button === 0) {
+ e.preventDefault();
getCurrentWindow().startDragging();
}
}