Skip to content

Commit

Permalink
Fixed erroneous check that hid the suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
joanrodriguez committed Jul 25, 2017
1 parent 2090129 commit 5590955
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Geosuggest.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ class Geosuggest extends React.Component {
* On After the input got changed
*/
onAfterInputChange = () => {
if (!this.state.isSuggestsHidden) {
this.showSuggests();
}
this.showSuggests();
this.props.onChange(this.state.userInput);
};

Expand Down

0 comments on commit 5590955

Please sign in to comment.