Skip to content

Commit

Permalink
Fix auto focus on map search
Browse files Browse the repository at this point in the history
  • Loading branch information
newmanw committed Jun 11, 2024
1 parent 1dfda97 commit bba95d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-app/src/app/map/controls/search.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface SearchEvent {
})
export class SearchComponent implements AfterViewInit {

@ViewChild('searchInput', { static: true }) searchInput: any;
@ViewChild('searchInput') searchInput: ElementRef;
@ViewChild(MatList, { read: ElementRef }) matList: ElementRef;

@Output() onSearch = new EventEmitter<SearchEvent>();
Expand Down

0 comments on commit bba95d2

Please sign in to comment.