nylas / nylas-mail

:love_letter: An extensible desktop mail app built on the modern web. Forks welcome!
https://nylas.com/nylas-mail/
MIT License
24.8k stars 1.38k forks source link

[Regression] Cc/Bcc buttons don't work #3522

Open ialexryan opened 7 years ago

ialexryan commented 7 years ago

Issue description:

While the To: field in the composer header is focused, clicking the "Cc" or "Bcc" buttons while the To field is focused causes the composer-header to collapse and lose focus.

No console warnings are produced when I click on the Cc button. I figure the issue was the onShowAndFocusField prop on ComposerHeaderActions either not being set or being set incorrectly, but it was really hard to debug further without the react devtools.

Hope it's a quick fix, the app is unusable to me at the moment :/


What operating system are you using?

Windows 10 Pro v1607

What version of Nylas Mail are you using?

2.0.32


Bug?

Do you have any third-party plugins installed? If so, which ones?

None

Is the issue related to a specific email provider (Gmail, Exchange, etc.)?

No. Bug is with the composer.

Is the issue reproducible with a particular attachment, message, signature, etc?

Reproducible at all times with a blank composer.