Make keyboard handling in and out of autocomplete completions consistent (#11344)
* Make keyboard handling in and out of autocomplete completions consistent * Add test
This commit is contained in:
parent
b2eac5b65c
commit
340e301844
2 changed files with 12 additions and 2 deletions
|
@ -554,8 +554,6 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
|
|||
autoComplete.onEscape(event);
|
||||
handled = true;
|
||||
break;
|
||||
default:
|
||||
return; // don't preventDefault on anything else
|
||||
}
|
||||
} else if (autocompleteAction === KeyBindingAction.ForceCompleteAutocomplete && !this.state.showVisualBell) {
|
||||
// there is no current autocomplete window, try to open it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue