mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
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
@ -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 New Issue
Block a user