From 32c2469a175dbab42387cf9343e11722c02c584e Mon Sep 17 00:00:00 2001 From: ra1nb0w Date: Thu, 30 Aug 2018 14:25:54 +0200 Subject: [PATCH] when invoke ctrl/command+f select all text in the "Search Vault" input (#131) --- src/app/vault/vault.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':