Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: search bar icon focus #327

Merged
merged 1 commit into from
Jul 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<form [formGroup]="formGroup">
<label for="address" class="visually-hidden">Quelle est votre adresse ?</label>
<i class="text-muted ri-search-line ri-lg position-absolute mt-2 ms-2 ps-1 z-index-over-base" aria-hidden="true"></i>
<div class="input-group">
<span class="input-group-text px-2">
<i class="text-muted ri-search-line ri-lg"></i>
</span>
<input
#addressInput
type="search"
placeholder="Entrez une adresse"
name="address"
id="address"
class="form-control"
class="form-control ps-5"
autocomplete="off"
aria-describedby="address"
aria-haspopup="true"
Expand All @@ -33,7 +31,7 @@
[class.show]="(dropdownPane.expanded$ | async) && addressSuggestions.length > 0"
class="dropdown-menu position-absolute mt-1"
aria-labelledby="address">
<li #results *ngFor="let address of addressSuggestions; index as addressIndex; trackBy: trackByAddressName">
<li *ngFor="let address of addressSuggestions; index as addressIndex; trackBy: trackByAddressName">
<button
type="button"
class="dropdown-item"
Expand Down