Merge pull request #2914 from matrix-org/anoa/image_to_composer
Focus the composer view on file upload
This commit is contained in:
commit
c8bd2e7aa5
1 changed files with 3 additions and 0 deletions
|
@ -492,6 +492,9 @@ export default class ContentMessages {
|
|||
this.inprogress.push(upload);
|
||||
dis.dispatch({action: 'upload_started'});
|
||||
|
||||
// Focus the composer view
|
||||
dis.dispatch({action: 'focus_composer'});
|
||||
|
||||
let error;
|
||||
|
||||
function onProgress(ev) {
|
||||
|
|
Loading…
Reference in a new issue