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:
commit
94bd840431
@ -418,6 +418,7 @@ export class Keyboard extends PsychObject
|
||||
self._psychoJS.logger.trace('keydown: ', event.key);
|
||||
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user