PLT-5179 - Fixing modal overflow for autocomplete (#5002)
* PLT-5179 - Fixing modal overflow for autocomplete * PLT-5171 - Fixing search bar popover behaviour
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
f6672605e8
Коммит
93a526f7ed
@@ -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
|
||||
|
||||
Ссылка в новой задаче
Block a user