mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
[PM-13895] Autofocus on Vault Search Browser (#11888)
* use appAutoFocus directive for browser vault v2 search
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
[placeholder]="'search' | i18n"
|
[placeholder]="'search' | i18n"
|
||||||
[(ngModel)]="searchText"
|
[(ngModel)]="searchText"
|
||||||
(ngModelChange)="onSearchTextChanged()"
|
(ngModelChange)="onSearchTextChanged()"
|
||||||
|
appAutofocus
|
||||||
>
|
>
|
||||||
</bit-search>
|
</bit-search>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -23,7 +23,11 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Show search & filters outside of the scroll area of the page -->
|
<!-- 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-v2-search> </app-vault-v2-search>
|
||||||
<app-vault-list-filters></app-vault-list-filters>
|
<app-vault-list-filters></app-vault-list-filters>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user