Fix force completion and hide rooms with no alias
This commit is contained in:
parent
9a991a4dfd
commit
79e5e6f6fe
3 changed files with 10 additions and 4 deletions
|
@ -595,7 +595,9 @@ export default class MessageComposerInput extends React.Component {
|
|||
e.preventDefault(); // we *never* want tab's default to happen, but we do want up/down sometimes
|
||||
const didTab = await (e.shiftKey ? this.onUpArrow : this.onDownArrow)(e);
|
||||
if (!didTab && this.autocomplete) {
|
||||
this.autocomplete.forceComplete();
|
||||
this.autocomplete.forceComplete().then(() => {
|
||||
this.onDownArrow(e);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue