You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-16 06:42:26 +03:00
fix formatbar not hidden on highlighted message sent
This commit is contained in:
@@ -152,6 +152,7 @@ export default class BasicMessageEditor extends React.Component {
|
||||
if (this.props.placeholder) {
|
||||
const {isEmpty} = this.props.model;
|
||||
if (isEmpty) {
|
||||
this._formatBarRef.hide();
|
||||
this._showPlaceholder();
|
||||
} else {
|
||||
this._hidePlaceholder();
|
||||
|
||||
Reference in New Issue
Block a user