File upload view should always give focus to the 'Send Files' button by default
The Problem
Sometimes I will attempt to upload a file by doing ctrl+v, then then press the Enter key, only for the file upload view to go away and the file does not upload. This is confusing and I might repeat the actions a few times before I figure out what is going on. I don't know how it happens, but when this happens, I believe the Cancel button is focused, which causes the upload to be canceled when I press Enter, without me knowing.
What I expect
I expect that after I do ctrl+v in the text input field to upload a file, simply pressing the Enter key will commence the upload. This can be achieved if we have the 'Send Files' button selected by default, regardless of what button was pressed last in a previous file upload operation.
How to reproduce
- Do ctrl+v to upload file.
- Press Cancel button.
- Do ctrl+v to upload file.
- press Enter key
For me, pressing the Cancel button causes the Cancel button to be focused during the next file upload session, which means that pressing Enter cancels the upload.