From c44c113950ba2f49cb3bc47f8425c997c60dfbf5 Mon Sep 17 00:00:00 2001 From: zepumph Date: Thu, 14 May 2020 08:15:10 -0800 Subject: [PATCH] add empty event.key for fuzzBoard events, https://github.com/phetsims/scenery/issues/1053 https://github.com/phetsims/ratio-and-proportion/issues/50 --- js/accessibility/KeyboardFuzzer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/accessibility/KeyboardFuzzer.js b/js/accessibility/KeyboardFuzzer.js index 100cdade4..650e71e5d 100644 --- a/js/accessibility/KeyboardFuzzer.js +++ b/js/accessibility/KeyboardFuzzer.js @@ -205,6 +205,7 @@ class KeyboardFuzzer { eventObj.initEvent( event, true, true ); } + eventObj.key = ''; eventObj.keyCode = keyCode; // eventObj.shiftKey = true; // TODO: we can add modifier keys in here with options? eventObj.which = keyCode;