mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-14 10:26:19 +01:00
[PM-13895] Autofocus on Vault Search Browser (#11888)
* use appAutoFocus directive for browser vault v2 search
This commit is contained in:
parent
ac0e008e3c
commit
40f2e15cec
@ -3,6 +3,7 @@
|
||||
[placeholder]="'search' | i18n"
|
||||
[(ngModel)]="searchText"
|
||||
(ngModelChange)="onSearchTextChanged()"
|
||||
appAutofocus
|
||||
>
|
||||
</bit-search>
|
||||
</div>
|
||||
|
@ -23,7 +23,11 @@
|
||||
</div>
|
||||
|
||||
<!-- Show search & filters outside of the scroll area of the page -->
|
||||
<div slot="above-scroll-area" class="tw-p-4" *ngIf="vaultState !== VaultStateEnum.Empty">
|
||||
<div
|
||||
slot="above-scroll-area"
|
||||
class="tw-p-4"
|
||||
*ngIf="vaultState !== VaultStateEnum.Empty && !(loading$ | async)"
|
||||
>
|
||||
<app-vault-v2-search> </app-vault-v2-search>
|
||||
<app-vault-list-filters></app-vault-list-filters>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user