diff --git a/modules/ui/src/app/components/testing-complete/testing-complete.component.ts b/modules/ui/src/app/components/testing-complete/testing-complete.component.ts index d8ce53d4b..956292aab 100644 --- a/modules/ui/src/app/components/testing-complete/testing-complete.component.ts +++ b/modules/ui/src/app/components/testing-complete/testing-complete.component.ts @@ -61,12 +61,16 @@ export class TestingCompleteComponent implements OnDestroy, OnInit { .pipe(takeUntil(this.destroy$)) .subscribe(profile => { if (profile === undefined) { - this.focusManagerService.focusFirstElementInContainer(); + timer(1000) + .pipe(takeUntil(this.destroy$)) + .subscribe(() => { + this.focusManagerService.focusFirstElementInContainer(); + }); return; } if (profile === null) { this.route.navigate([Routes.RiskAssessment]).then(() => - timer(100) + timer(1000) .pipe(takeUntil(this.destroy$)) .subscribe(() => { this.focusManagerService.focusFirstElementInContainer();