Mail: "To" recipient field is not automatically focused for new message

Created on 27 Oct 2019  Â·  2Comments  Â·  Source: nextcloud/mail

On writing a new message via the "+ New message" button, the "to" recipient field should receive the focus so people can directly start typing the recipient.

The code in question is at https://github.com/nextcloud/mail/blob/master/src/components/Composer.vue#L96 → the autofocus needs to be removed from the subject and moved to the "to" field, and tested if it works. (Because it did not when it was on the subject field.)

3. to review bug good first issue

Most helpful comment

Good point. You are right, it should focus the "to" field first. :) Changed the title and text accordingly.

All 2 comments

Why would that actually be the first input to focus? Who doesn't start with the recipient?

Good point. You are right, it should focus the "to" field first. :) Changed the title and text accordingly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sscherfke picture sscherfke  Â·  5Comments

fsedarkalex picture fsedarkalex  Â·  5Comments

b1f17773 picture b1f17773  Â·  5Comments

MariusBluem picture MariusBluem  Â·  3Comments

ChristophWurst picture ChristophWurst  Â·  3Comments