Skip to content

Commit

Permalink
fix(gui): stop safari from opening the native menu (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
rin-yato authored Apr 27, 2024
1 parent 56f6a88 commit 83acfb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/components/context-menu-handler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function ContextMenuHandler() {
if (menu && contextRef.current) {
const ev = new MouseEvent("contextmenu", {
bubbles: true,
cancelable: false,
cancelable: true,
view: window,
button: 2,
buttons: 2,
Expand Down

0 comments on commit 83acfb8

Please sign in to comment.