Skip to content

Commit

Permalink
fix: macos copy support
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghaojie08 committed May 19, 2023
1 parent 72e4797 commit 905440a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/src/utils/event-key-codes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
export function isInputKeyCode(event) {
let result = false;

const { keyCode, altKey, ctrlKey, shiftKey } = event;
const { keyCode, altKey, ctrlKey, shiftKey, metaKey } = event;

// exclude keys
if (altKey || ctrlKey || shiftKey) {
if (altKey || ctrlKey || shiftKey || metaKey) {
return result;
}

Expand Down

0 comments on commit 905440a

Please sign in to comment.