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
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E

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;