|
|
@ -74,9 +74,9 @@ class ComposeForm extends ImmutablePureComponent { |
|
|
|
this.props.onClearSuggestions(); |
|
|
|
this.props.onClearSuggestions(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
onSuggestionsFetchRequested = (token) => { |
|
|
|
onSuggestionsFetchRequested = debounce((token) => { |
|
|
|
this.props.onFetchSuggestions(token); |
|
|
|
this.props.onFetchSuggestions(token); |
|
|
|
} |
|
|
|
}, 500, { trailing: true }) |
|
|
|
|
|
|
|
|
|
|
|
onSuggestionSelected = (tokenStart, token, value) => { |
|
|
|
onSuggestionSelected = (tokenStart, token, value) => { |
|
|
|
this._restoreCaret = null; |
|
|
|
this._restoreCaret = null; |
|
|
|