Skip to content

Commit

Permalink
fix(MultiSelect.Filterable): onMenuChange was not being called (carbo…
Browse files Browse the repository at this point in the history
…n-design-system#8752)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and emyarod committed Jun 10, 2021
1 parent 4b29a27 commit ed7b074
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,7 @@ export default class FilterableMultiSelect extends React.Component {
};

handleOnOuterClick = () => {
this.setState({
isOpen: false,
});
this.handleOnMenuChange(false);
};

handleOnStateChange = (changes, downshift) => {
Expand All @@ -233,9 +231,6 @@ export default class FilterableMultiSelect extends React.Component {
this.handleOnMenuChange(true);
}
break;
case stateChangeTypes.blurInput:
this.handleOnMenuChange(false);
break;
case stateChangeTypes.keyDownEscape:
this.handleOnMenuChange(false);
break;
Expand Down

0 comments on commit ed7b074

Please sign in to comment.