Adjust physicalKeyboardHighlightPreventDefault per #1841

This commit is contained in:
Francisco Hodge
2023-01-16 19:04:05 -05:00
parent f6a72b27b2
commit 65a506a2a4
2 changed files with 10 additions and 4 deletions
+2
View File
@@ -29,6 +29,7 @@ class PhysicalKeyboard {
if(options.physicalKeyboardHighlightPreventDefault){
event.preventDefault();
event.stopImmediatePropagation();
}
const buttonPressed = this.getSimpleKeyboardLayoutKey(event);
@@ -94,6 +95,7 @@ class PhysicalKeyboard {
if(options.physicalKeyboardHighlightPreventDefault){
event.preventDefault();
event.stopImmediatePropagation();
}
const buttonPressed = this.getSimpleKeyboardLayoutKey(event);