diff --git a/src/pages/_layout.tsx b/src/pages/_layout.tsx index 43bad1ce6ae589bf4e3f89a910f5c9e92ffc77b3..e32a7c123c19e160583be8fd228fbe4d77e572d4 100644 --- a/src/pages/_layout.tsx +++ b/src/pages/_layout.tsx @@ -84,6 +84,10 @@ const Layout = () => { elevation={0} className={`${isWinOs ? "windows " : ""}layout`} onPointerDown={onDragging} + onContextMenu={(e) => { + // only prevent it on Windows + if (isWinOs) e.preventDefault(); + }} sx={[ (theme) => ({ bgcolor: alpha(theme.palette.background.paper, blur ? 0.85 : 1),