Fixing double enter in channel switcher (#6208)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
134f78e630
Коммит
7f68a60f8c
@@ -172,6 +172,7 @@ export default class SuggestionBox extends React.Component {
|
||||
e.preventDefault();
|
||||
} else if (e.which === KeyCodes.ENTER || e.which === KeyCodes.TAB) {
|
||||
GlobalActions.emitCompleteWordSuggestion(this.suggestionId);
|
||||
this.props.onKeyDown(e);
|
||||
e.preventDefault();
|
||||
} else if (e.which === KeyCodes.ESCAPE) {
|
||||
GlobalActions.emitClearSuggestions(this.suggestionId);
|
||||
|
||||
Ссылка в новой задаче
Block a user