fix(composer): Sentry 9688

This commit is contained in:
Ben Gotow 2016-03-24 17:10:04 -07:00
parent 45effe60b2
commit 3fa93c2730

View file

@ -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()))