set focus to first suggestion by down arrow key
This commit is contained in:
parent
724ee6c6f4
commit
67c49775fd
@ -41,6 +41,10 @@ class Autocomplete {
|
||||
this.dropdown.hide();
|
||||
return;
|
||||
}
|
||||
if (e.keyCode === 40) {
|
||||
this.dropdown._menu.children[0]?.focus();
|
||||
return;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user