1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

set focus manually before search text

This commit is contained in:
Kyle Spearrin
2018-05-08 08:35:17 -04:00
parent 190bc5b90c
commit fee87030de
2 changed files with 3 additions and 2 deletions

View File

@@ -78,6 +78,8 @@ export class GroupingsComponent extends BaseGroupingsComponent implements OnInit
}
async ngOnInit() {
document.getElementById('search').focus();
this.showLeftHeader = !this.platformUtilsService.isSafari() &&
!(this.popupUtils.inSidebar(window) && this.platformUtilsService.isFirefox());
this.stateService.remove('CiphersComponent');