Merge branch 'release-3.6'
Этот коммит содержится в:
@@ -64,6 +64,10 @@ export default class SuggestionBox extends React.Component {
|
||||
// Delay this slightly so that we don't clear the suggestions before we run click handlers on SuggestionList
|
||||
GlobalActions.emitClearSuggestions(this.suggestionId);
|
||||
}, 100);
|
||||
|
||||
if (this.props.onBlur) {
|
||||
this.props.onBlur();
|
||||
}
|
||||
}
|
||||
|
||||
handleChange(e) {
|
||||
@@ -272,6 +276,7 @@ SuggestionBox.propTypes = {
|
||||
renderDividers: React.PropTypes.bool,
|
||||
|
||||
// explicitly name any input event handlers we override and need to manually call
|
||||
onBlur: React.PropTypes.func,
|
||||
onChange: React.PropTypes.func,
|
||||
onKeyDown: React.PropTypes.func,
|
||||
onItemSelected: React.PropTypes.func
|
||||
|
||||
Ссылка в новой задаче
Block a user