Mailspring/spec/components
Juan Tejada 56258991fb 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
..
clipboard-service-spec.coffee refactor(contenteditable): new ContenteditableExtension API 2015-12-21 19:58:01 -08:00
contenteditable-component-spec.cjsx
editable-list-spec.jsx feat(mail-rules): Per-account mail rules filter incoming, existing mail 2015-12-23 02:19:32 -05:00
evented-iframe-spec.cjsx
injected-component-set-spec.jsx fix(composer-focus): Fix focus behavior + update InjectedComponent props 2015-12-29 21:28:15 -05:00
multiselect-list-interaction-handler-spec.coffee
multiselect-split-interaction-handler-spec.coffee fix(composer-focus): Fix focus behavior + update InjectedComponent props 2015-12-29 21:28:15 -05:00
tokenizing-text-field-spec.cjsx