Fixed: Update Fuse to allow search over 32 without crash

This commit is contained in:
Qstick
2020-06-10 21:49:52 -04:00
parent b9c59e5482
commit 9c3b4e3025
5 changed files with 29 additions and 11 deletions
@@ -74,7 +74,11 @@ class MovieSearchInput extends Component {
if (item.type === LOADING_TYPE) {
return (
<LoadingIndicator />
<LoadingIndicator
className={styles.loading}
rippleClassName={styles.ripple}
size={30}
/>
);
}
@@ -124,7 +128,7 @@ class MovieSearchInput extends Component {
highlightedSuggestionIndex
} = this._autosuggest.state;
if (!suggestions.length || suggestions[0].type === LOADING_TYPE || highlightedSectionIndex) {
if (!suggestions.length || highlightedSectionIndex) {
this.props.onGoToAddNewMovie(value);
this._autosuggest.input.blur();
this.reset();