Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#14594 closed defect (fixed)

dojo.keys.META not working under Google Chrome

Reported by: Thomas Bachem Owned by: Kris Zyp
Priority: high Milestone: 1.8
Component: Events Version: 1.7.1
Keywords: Cc:
Blocked By: Blocking:

Description

Affects Dojo versions 1.5.x-1.7.x.

If just the meta key (cmd key on Macs) gets pressed, e.keyCode is 91 in Google Chrome.

The switch in dojo/keys.js line 21 (Dojo 1.7) does only target Safari though:

META: has("safari") ? 91 : 224,         // the apple key on macs

Perhaps targeting WebKit? would be more correct here?

META: has("webkit") ? 91 : 224,         // the apple key on macs

Change History (2)

comment:1 Changed 8 years ago by Kris Zyp

Resolution: fixed
Status: newclosed

In [27530]:

Switch Meta key based on webkit instead of Safari, fixes #14594 !strict

comment:2 Changed 8 years ago by bill

Milestone: tbd1.8
Note: See TracTickets for help on using tickets.