mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 23:54:13 +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
|
||||
# erroneously trigger keyboard shortcuts.
|
||||
_onFocusIn: (event) =>
|
||||
return unless @_proxy
|
||||
return if DOMUtils.closest(event.target, DOMUtils.inputTypes())
|
||||
@setState(focusedField: @_initiallyFocusedField(@_proxy.draft()))
|
||||
|
||||
|
|
Loading…
Reference in a new issue