IPad Keyboard Focus

This commit is contained in:
Lorenz Hilpert
2021-05-17 15:58:27 +02:00
parent 9742a58792
commit 09a69a748c

View File

@@ -185,9 +185,10 @@ export class ArticleSearchboxComponent implements OnInit, OnDestroy {
}
focus(input: HTMLInputElement): void {
alert('FOCUS');
setTimeout(() => {
input.focus();
this.cdr.detectChanges();
}, 200);
}, 1000);
}
}