FIX: Tab key should autocomplete like enter key does (#11659)
This commit is contained in:
parent
c819284660
commit
3865308e36
|
@ -569,6 +569,7 @@ export default function (options) {
|
||||||
|
|
||||||
// Keyboard codes! So 80's.
|
// Keyboard codes! So 80's.
|
||||||
switch (e.which) {
|
switch (e.which) {
|
||||||
|
case keys.tab:
|
||||||
case keys.enter:
|
case keys.enter:
|
||||||
if (!autocompleteOptions) {
|
if (!autocompleteOptions) {
|
||||||
closeAutocomplete();
|
closeAutocomplete();
|
||||||
|
|
Loading…
Reference in New Issue