Prevent default fix

This commit is contained in:
Adina Țeudan 2020-11-02 04:24:37 +02:00
parent 8f68c8a83d
commit 558eeb8a1e

View File

@ -418,6 +418,8 @@ export class FilePreviewScreenComponent implements OnInit {
}
preventArrowDefault($event: KeyboardEvent) {
$event.preventDefault();
if (KEY_ARRAY.includes($event.key)) {
$event.preventDefault();
}
}
}