mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-13 16:14:36 +08:00
fix(composer): Sentry 9688
This commit is contained in:
parent
7c2bd06fbb
commit
236e2bfdd5
1 changed files with 1 additions and 0 deletions
|
@ -491,6 +491,7 @@ class ComposerView extends React.Component
|
||||||
# we didn't focus the contenteditable, the user may start typing and
|
# we didn't focus the contenteditable, the user may start typing and
|
||||||
# erroneously trigger keyboard shortcuts.
|
# erroneously trigger keyboard shortcuts.
|
||||||
_onFocusIn: (event) =>
|
_onFocusIn: (event) =>
|
||||||
|
return unless @_proxy
|
||||||
return if DOMUtils.closest(event.target, DOMUtils.inputTypes())
|
return if DOMUtils.closest(event.target, DOMUtils.inputTypes())
|
||||||
@setState(focusedField: @_initiallyFocusedField(@_proxy.draft()))
|
@setState(focusedField: @_initiallyFocusedField(@_proxy.draft()))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue