diff options
-rw-r--r-- | autocomplete.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/autocomplete.js b/autocomplete.js index dc95a1b..3350108 100644 --- a/autocomplete.js +++ b/autocomplete.js @@ -41,6 +41,10 @@ class Autocomplete { this.dropdown.hide(); return; } + if (e.keyCode === 40) { + this.dropdown._menu.children[0]?.focus(); + return; + } }); } |