Skip to content

Commit

Permalink
[PM-13895] Autofocus on Vault Search Browser (#11888)
Browse files Browse the repository at this point in the history
* use appAutoFocus directive for browser vault v2 search
  • Loading branch information
Jingo88 authored Nov 12, 2024
1 parent ac0e008 commit 40f2e15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[placeholder]="'search' | i18n"
[(ngModel)]="searchText"
(ngModelChange)="onSearchTextChanged()"
appAutofocus
>
</bit-search>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 40f2e15

Please sign in to comment.