mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-06 08:08:10 +08:00
parent
cfc937e661
commit
b276445c86
1 changed files with 4 additions and 0 deletions
|
@ -410,6 +410,10 @@ class TokenizingTextField extends React.Component
|
|||
@_refreshCompletions(val)
|
||||
|
||||
_onInputBlurred: (event) =>
|
||||
# Not having a relatedTarget can happen when the whole app blurs. When
|
||||
# this happens we want to leave the field as-is
|
||||
return unless event.relatedTarget
|
||||
|
||||
if event.relatedTarget is React.findDOMNode(@)
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue