mirror of
https://github.com/mattermost/mattermost.git
synced 2026-10-24 12:05:24 +08:00
Fixed pasting text sending the caret to the end of the post textbox (#5567)
This commit is contained in:
@@ -292,9 +292,11 @@ class FileUpload extends React.Component {
|
||||
|
||||
this.props.onUploadStart([clientId], channelId);
|
||||
}
|
||||
}
|
||||
|
||||
this.props.onFileUploadChange();
|
||||
if (numToUpload > 0) {
|
||||
this.props.onFileUploadChange();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
keyUpload(e) {
|
||||
|
||||
Reference in New Issue
Block a user