adobe/brackets

No key events sent for modifier keys on Mac

Closed this issue · 2 comments

Add this code in brackets.js just above the call to document.body.addEventListener():

$(document).keydown(function(event) {
    console.log("Keydown: "+event.keyCode);
});
  1. Run Brackets
  2. Tap Ctrl, then Alt/Option, then Command

Result: Nothing is output to console

Expected: Should output messages (I think the expected codes are 17, 18 and 91). It works in Brackets on Windows, and it works in Chrome on both platforms.


Moved from the Native App Shell issue: adobe/brackets-app#110 (already reviewed).

This issue is unassigned, so marking "Needs Review".

njx commented

Fixed! Closing.