PLT-5179 - Fixing modal overflow for autocomplete (#5002)

* PLT-5179 - Fixing modal overflow for autocomplete

* PLT-5171 - Fixing search bar popover behaviour
Этот коммит содержится в:
Asaad Mahmood
2017-01-09 19:32:27 +05:00
коммит произвёл Harrison Healey
родитель f6672605e8
Коммит 93a526f7ed
5 изменённых файлов: 41 добавлений и 55 удалений

Просмотреть файл

@@ -64,6 +64,7 @@ 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);
this.props.onBlur();
}
handleChange(e) {
@@ -272,6 +273,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