Skip to content

Commit 3795ada

Browse files
fix: return false in context menu handler
Supposedly this makes a difference sometimes: https://stackoverflow.com/questions/381795/how-to-disable-right-click-context-menu-in-javascript
1 parent e6891e7 commit 3795ada

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pages/root.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export const rootRoute = createRootRoute({
3434
const cm = import.meta.env.PROD
3535
? (e: PointerEvent) => {
3636
e.preventDefault();
37+
return false;
3738
}
3839
: () => {};
3940

0 commit comments

Comments
 (0)