Browse Source

fix: export dialog shortcut toggles console on firefox (#6620)

David Luzar 2 years ago
parent
commit
75bea48b54
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/App.tsx

+ 1 - 0
src/components/App.tsx

@@ -2156,6 +2156,7 @@ class App extends React.Component<AppProps, AppState> {
         event.shiftKey &&
         event[KEYS.CTRL_OR_CMD]
       ) {
+        event.preventDefault();
         this.setState({ openDialog: "imageExport" });
         return;
       }