You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-01 13:11:10 +03:00
Wire up drag-drop file uploads for the thread view (#7860)
This commit is contained in:
committed by
GitHub
parent
42e9ea4540
commit
8fccef86d8
@@ -396,8 +396,7 @@ class LoggedInView extends React.Component<IProps, IState> {
|
||||
inputableElement.focus();
|
||||
} else {
|
||||
const inThread = !!document.activeElement.closest(".mx_ThreadView");
|
||||
// refocusing during a paste event will make the
|
||||
// paste end up in the newly focused element,
|
||||
// refocusing during a paste event will make the paste end up in the newly focused element,
|
||||
// so dispatch synchronously before paste happens
|
||||
dis.dispatch({
|
||||
action: Action.FocusSendMessageComposer,
|
||||
|
||||
Reference in New Issue
Block a user