mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
[PM-19923] Update autofocus directive to be more aggressive in focusing (#14368)
* Update autofocus directive to be more aggressive in focusing * Handle checkVisibility not existing (safari < 17.4) * Tweak phrasing * Change approach
This commit is contained in:
@@ -49,7 +49,7 @@ export class SearchComponent implements ControlValueAccessor, FocusableElement {
|
||||
@Input() autocomplete: string;
|
||||
|
||||
getFocusTarget() {
|
||||
return this.input.nativeElement;
|
||||
return this.input?.nativeElement;
|
||||
}
|
||||
|
||||
onChange(searchText: string) {
|
||||
|
||||
Reference in New Issue
Block a user