mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-11-10 00:11:34 +08:00
Summary:
It was hard to notice this regression because the `?` in `@refs[field]?.focus?()` meant `focus('textFieldCc')` failed silently.
Now we catch that the field we're asked to focus doesn't exist, and try again after the next render.
Fixes T1982
Test Plan: Run tests
Reviewers: evan
Reviewed By: evan
Maniphest Tasks: T1982
Differential Revision: https://phab.nylas.com/D1643
|
||
|---|---|---|
| .. | ||
| composer-view-spec.cjsx | ||
| contenteditable-component-spec.cjsx | ||
| contenteditable-quoted-text-spec.cjsx | ||
| participants-text-field-spec.cjsx | ||