FIX: Tab key should autocomplete like enter key does (#11659)

This commit is contained in:
Osama Sayegh 2021-01-07 19:43:13 +03:00 committed by GitHub
parent c819284660
commit 3865308e36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -569,6 +569,7 @@ export default function (options) {
// Keyboard codes! So 80's.
switch (e.which) {
case keys.tab:
case keys.enter:
if (!autocompleteOptions) {
closeAutocomplete();