Mailspring/internal_packages/composer/lib
Juan Tejada 73f76de7fc fix(composer-focus): Fix focus behavior + update InjectedComponent props
Summary:
- Fixes bug with Composer focus caused by injected component. The composer body
  was being focused, but the cursor remained at the beginning of the content
  instead of at the end. This was caused because the focus method was being
  called before the content had actually been rendered to the dom.
  - Adds a callback to check when injected comp was actually rendered, and uses
    that to focus the body at the correct time.
  - Updates specs
- Updates behavior of focusing composer body when selecting threads in split
  mode --  resolves #T3444
  - It will focus the body when a thread is selcted via a click
  - It wont focus the body when a thread is selected via arrow keys
  - It will focus the body when a new inline reply is created
  - Updates specs

Test Plan: - Unit tests

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2393
2015-12-29 21:28:15 -05:00
..
account-contact-field.cjsx feat(account-prefs): Adds new page for Account in preferences 2015-12-10 15:27:29 -08:00
collapsed-participants.cjsx feat(keymap): add new <KeymapHandlers /> 2015-11-06 11:47:06 -08:00
compose-button.cjsx feat(tooltip): use native tooltip style 2015-10-21 11:27:57 -07:00
composer-editor.jsx feat(editor-region): Add support to register components as editors 2015-12-18 11:06:44 -08:00
composer-view.cjsx fix(composer-focus): Fix focus behavior + update InjectedComponent props 2015-12-29 21:28:15 -05:00
expanded-participants.cjsx feat(account-prefs): Adds new page for Account in preferences 2015-12-10 15:27:29 -08:00
fields.cjsx feat(composer): participants collapse 2015-09-14 10:37:00 -04:00
file-upload.cjsx bump(electron): 0.34.3 => 0.35.1 2015-11-23 22:09:17 -08:00
image-file-upload.cjsx fix(uploads): Don't allow dragging of uploading images (Fixes #366) 2015-12-29 14:21:42 -08:00
main.cjsx refactor(env): new NylasEnv global 2015-11-17 16:41:20 -08:00
participants-text-field.cjsx fix(composer): Change state.focusedField when clicking fields—see details 2015-12-08 17:44:20 -08:00