There's relevant code in Popover.js but it doesn't work: handleEvent(event) { switch (event.type) { ... case "keypress": if (event.keyCode === WI.KeyboardShortcut.Key.Escape.keyCode) this.dismiss();
<rdar://problem/58169820>
Regressed in r218839 as `keyboardShortcutDisabled` getter was removed: https://github.com/WebKit/webkit/commit/9870d084e62af3e5a9240390f46c7a61a4ce40a0#diff-a644aa8b89b6359edd1f27853c18a8faL106
Created attachment 386395 [details] Patch
Comment on attachment 386395 [details] Patch This only works every other time.
Created attachment 386741 [details] Patch
Comment on attachment 386741 [details] Patch r=me, good catch.
Comment on attachment 386741 [details] Patch Clearing flags on attachment: 386741 Committed r254061: <https://trac.webkit.org/changeset/254061>
All reviewed patches have been landed. Closing bug.