clear input field when changing topics

This commit is contained in:
or-else
2022-03-17 14:12:25 -07:00
parent 3d2af23f14
commit c9391cf451
9 changed files with 33 additions and 11 deletions
+1
View File
@@ -1216,6 +1216,7 @@ class MessagesView extends React.Component {
:
<SendMessage
tinode={this.props.tinode}
topicName={this.state.topic}
noInput={!!this.props.forwardMessage}
disabled={!this.state.isWriter || this.state.deleted}
onKeyPress={this.sendKeyPress}