Mailspring/internal_packages/composer/lib
Annie 43ea21e3bf add(composer): Turn emails into mailto for debugging purposes
Summary:
fix(subject-field): Fix subject text field focus
Before, if you clicked a mailto link, once the composer loaded, the subject field (which was focused in composer-preload) blurred. This was not ideal as users would want to type once the popout loaded and instead they would have to click first. We identified that this was coming from the composer header _renderSubject injected component. We fixed the focus within mail merge subject text field and additionally added the onComponentDidChange method to injected component. This allowed us to only update the component when the header field changed.

Test Plan: tested on my machine for mailto links

Reviewers: juan

Reviewed By: juan

Subscribers: juan

Differential Revision: https://phab.nylas.com/D3150
2016-08-12 16:06:22 -07:00
..
account-contact-field.jsx
action-bar-plugins.jsx
collapsed-participants.jsx
compose-button.jsx
composer-editor.jsx
composer-header-actions.jsx
composer-header.jsx
composer-view.jsx
fields.es6
file-upload.jsx
image-file-upload.jsx
main.es6
send-action-button.jsx
subject-text-field.jsx