Skip to content

Commit

Permalink
Merge pull request #13642 from ethereum/fix-kbd-shortcut
Browse files Browse the repository at this point in the history
fix: keyboard shortcut conflict
  • Loading branch information
pettinarip authored Aug 15, 2024
2 parents 6eed7bc + e830a20 commit acc8756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LanguagePicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const LanguagePicker = ({
* @param {string} event - The keydown event.
*/
useEventListener("keydown", (e) => {
if (e.key !== "\\") return
if (e.key !== "\\" || e.metaKey || e.ctrlKey) return
e.preventDefault()
onOpen()
})
Expand Down

0 comments on commit acc8756

Please sign in to comment.