From 81626981202ba28044b23a429cedc91ef6d360b2 Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Fri, 13 Aug 2021 14:48:25 +0300 Subject: [PATCH] text area fullscren fix --- .../file-preview-screen/file-preview-screen.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/file-preview-screen.component.ts b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/file-preview-screen.component.ts index a79902507..dce9ae478 100644 --- a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/file-preview-screen.component.ts +++ b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/file-preview-screen.component.ts @@ -363,7 +363,7 @@ export class FilePreviewScreenComponent extends AutoUnsubscribe implements OnIni if (['f', 'F'].includes($event.key)) { // if you type in an input, don't toggle full-screen - if ($event.target instanceof HTMLInputElement) { + if ($event.target instanceof HTMLInputElement || $event.target instanceof HTMLTextAreaElement) { return; } this.toggleFullScreen();