From 63aafd313335172aa8fb7306eec77eb167f509e7 Mon Sep 17 00:00:00 2001 From: GruberViktor <55293739+GruberViktor@users.noreply.github.com> Date: Fri, 11 Mar 2022 20:54:24 +0100 Subject: [PATCH] remove automatic focus on title in document-detail view Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> --- .../app/components/document-detail/document-detail.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src-ui/src/app/components/document-detail/document-detail.component.ts b/src-ui/src/app/components/document-detail/document-detail.component.ts index 8bb3de79f..052e5cb40 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.ts +++ b/src-ui/src/app/components/document-detail/document-detail.component.ts @@ -299,14 +299,12 @@ export class DocumentDetailComponent implements OnInit, OnDestroy, DirtyComponen nextDoc() { this.documentListViewService.getNext(this.document.id).subscribe((nextDocId: number) => { this.router.navigate(['documents', nextDocId]) - this.titleInput?.focus() }) } previousDoc () { this.documentListViewService.getPrevious(this.document.id).subscribe((prevDocId: number) => { this.router.navigate(['documents', prevDocId]) - this.titleInput?.focus() }) }