Skip to content

Commit 6e0fbb8

Browse files
committed
Prevent context menu on in-progress recording page
1 parent bc63d33 commit 6e0fbb8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/desktop/src/routes/in-progress-recording.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,10 @@ export default function () {
527527
};
528528

529529
return (
530-
<div class="flex h-full w-full flex-col justify-end px-3 pb-3">
530+
<div
531+
class="flex h-full w-full flex-col justify-end px-3 pb-3"
532+
onContextMenu={(e) => e.preventDefault()}
533+
>
531534
<div ref={setInteractiveAreaRef} class="flex w-full flex-col gap-2">
532535
<Show when={hasRecordingIssue() && issuePanelVisible()}>
533536
<div class="flex w-full flex-row items-start gap-3 rounded-2xl border border-red-8 bg-gray-1 px-4 py-3 text-[12px] leading-snug text-red-11 shadow-lg">

0 commit comments

Comments
 (0)