1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-11 16:18:10 +00:00

Merge pull request #266 from thewhodidthis/bf#167--beeping

core/Keyboard: prevent default on keydown
This commit is contained in:
Alain Pitiot 2021-02-15 09:24:53 +01:00 committed by GitHub
commit 94bd840431
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -418,6 +418,7 @@ export class Keyboard extends PsychObject
self._psychoJS.logger.trace('keydown: ', event.key);
event.stopPropagation();
event.preventDefault();
});