Fix switching bug and br tag in firefox
This commit is contained in:
parent
423f87a43a
commit
928a23e9d0
2 changed files with 3 additions and 1 deletions
|
@ -339,6 +339,7 @@ export class MessageComposer extends React.Component<IProps, IState> {
|
|||
this.state.isRichTextEnabled,
|
||||
{ mxClient: this.props.mxClient, roomContext: this.context, permalinkCreator, relation, replyToEvent });
|
||||
dis.dispatch({ action: Action.ClearAndFocusSendMessageComposer });
|
||||
this.setState({ composerContent: '', initialComposerContent: '' });
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue