mirror of
https://github.com/discourse/discourse.git
synced 2025-02-18 01:05:00 +00:00
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…
x
Reference in New Issue
Block a user