Skip to content

Commit

Permalink
fix: remove unnecessary call to _handleSuggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
megheaiulian authored and nomego committed Mar 15, 2020
1 parent ba8ec39 commit 96bf091
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions paper-autocomplete-chips.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,15 +423,7 @@ class PaperAutocompleteChips extends translatable(PolymerElement) {
return;
}
this.push('selectedItems', newSelection);
microTask.run(() => {
this.$.ac.clear();
// FIXME
this.$.ac.$.paperAutocompleteSuggestions._handleSuggestions({
target: {
value: ''
}
});
});
microTask.run(() => this.$.ac.clear());
}
/**
* Check whether the input is valid or not.
Expand Down

0 comments on commit 96bf091

Please sign in to comment.