Mailspring/internal_packages/composer/spec
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
..
collapsed-participants-spec.cjsx feat(composer): participants collapse 2015-09-14 10:37:00 -04:00
composer-view-spec.cjsx fix(composer-focus): Fix focus behavior + update InjectedComponent props 2015-12-29 21:28:15 -05:00
expanded-participants-spec.cjsx fix(composer): Change state.focusedField when clicking fields—see details 2015-12-08 17:44:20 -08:00
participants-text-field-spec.cjsx fix(regex): Chop leading '/" off emails if they are wrapped in quotes 2015-12-28 18:39:06 -08:00
quoted-text-spec.cjsx feat(editor-region): Add support to register components as editors 2015-12-18 11:06:44 -08:00