mirror of https://github.com/vector-im/riot-web
preventDefault when moving autocomplete selection with vertical arrow
Otherwise the composer selection updates, in turn hiding the autocomplete box - fixes vector-im/riot-web#4790pull/21833/head
parent
02217c8bd2
commit
9742962d61
|
@ -890,6 +890,7 @@ export default class MessageComposerInput extends React.Component {
|
|||
}
|
||||
} else {
|
||||
this.moveAutocompleteSelection(up);
|
||||
e.preventDefault();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue