mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-25 09:30:13 +08:00
fix(composer): Sentry 9688
This commit is contained in:
parent
45effe60b2
commit
3fa93c2730
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