Focus the text input box after successfully attaching a file
Fixes #6284 - does not focus immediately (so as to avoid stealing focus) and does not focus if the file browser is cancelled.
This commit is contained in:
parent
da322b8966
commit
2cb4e65a9a
1 changed files with 1 additions and 0 deletions
|
@ -1031,6 +1031,7 @@ export function replaceAttachments(
|
|||
attachments: attachments.map(resolveDraftAttachmentOnDisk),
|
||||
},
|
||||
});
|
||||
dispatch(setComposerFocus(conversationId));
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue