Fixed pasting text sending the caret to the end of the post textbox (#5567)
Этот коммит содержится в:
коммит произвёл
enahum
родитель
23be0167f4
Коммит
df07aeeb12
@@ -292,10 +292,12 @@ class FileUpload extends React.Component {
|
|||||||
|
|
||||||
this.props.onUploadStart([clientId], channelId);
|
this.props.onUploadStart([clientId], channelId);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
if (numToUpload > 0) {
|
||||||
this.props.onFileUploadChange();
|
this.props.onFileUploadChange();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
keyUpload(e) {
|
keyUpload(e) {
|
||||||
if (Utils.cmdOrCtrlPressed(e) && e.keyCode === Constants.KeyCodes.U) {
|
if (Utils.cmdOrCtrlPressed(e) && e.keyCode === Constants.KeyCodes.U) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user