1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-20 16:22:28 +03:00

Focus composer when clicking Reply (quote event)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2018-01-11 19:29:00 +00:00
parent 192cba2b79
commit 23bd612730

View File

@@ -273,6 +273,7 @@ export default class MessageComposerInput extends React.Component {
let contentState = this.state.editorState.getCurrentContent(); let contentState = this.state.editorState.getCurrentContent();
switch (payload.action) { switch (payload.action) {
case 'quote_event':
case 'focus_composer': case 'focus_composer':
editor.focus(); editor.focus();
break; break;