We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23fd40f commit 310c83fCopy full SHA for 310c83f
src/commands.js
@@ -631,7 +631,7 @@ export let macBaseKeymap = {
631
for (let key in pcBaseKeymap) macBaseKeymap[key] = pcBaseKeymap[key]
632
633
// declare global: os, navigator
634
-const mac = typeof navigator != "undefined" ? /Mac/.test(navigator.platform)
+const mac = typeof navigator != "undefined" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform)
635
: typeof os != "undefined" ? os.platform() == "darwin" : false
636
637
// :: Object
0 commit comments