Prevent default fix
This commit is contained in:
parent
8f68c8a83d
commit
558eeb8a1e
@ -418,6 +418,8 @@ export class FilePreviewScreenComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
preventArrowDefault($event: KeyboardEvent) {
|
preventArrowDefault($event: KeyboardEvent) {
|
||||||
|
if (KEY_ARRAY.includes($event.key)) {
|
||||||
$event.preventDefault();
|
$event.preventDefault();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user