diff --git a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.ts b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.ts index 7b9195f45..0489a2789 100644 --- a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.ts +++ b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.ts @@ -418,6 +418,8 @@ export class FilePreviewScreenComponent implements OnInit { } preventArrowDefault($event: KeyboardEvent) { - $event.preventDefault(); + if (KEY_ARRAY.includes($event.key)) { + $event.preventDefault(); + } } }