diff --git a/src/app/vault/vault.component.ts b/src/app/vault/vault.component.ts index 8a2bf0ac08..1edc716f5a 100644 --- a/src/app/vault/vault.component.ts +++ b/src/app/vault/vault.component.ts @@ -98,7 +98,7 @@ export class VaultComponent implements OnInit, OnDestroy { await this.addFolder(); break; case 'focusSearch': - (document.querySelector('#search') as HTMLInputElement).focus(); + (document.querySelector('#search') as HTMLInputElement).select(); detectChanges = false; break; case 'openPasswordGenerator':