From 75bea48b5487339abb3bd017731d5a291bd3fba1 Mon Sep 17 00:00:00 2001 From: David Luzar Date: Wed, 24 May 2023 22:52:21 +0200 Subject: [PATCH] fix: export dialog shortcut toggles console on firefox (#6620) --- src/components/App.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/App.tsx b/src/components/App.tsx index e6f96169..49919c95 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -2156,6 +2156,7 @@ class App extends React.Component { event.shiftKey && event[KEYS.CTRL_OR_CMD] ) { + event.preventDefault(); this.setState({ openDialog: "imageExport" }); return; }