Skip to content

Commit

Permalink
Minimal fix to get IE/Edge working.
Browse files Browse the repository at this point in the history
There are various better sources for this fix than this repo.  See
discussion on facebook/react#7027 and various
react-autosuggest forks.

We might want to detect IE11/Edge rather than doing this across the
board but this is a start (what about IE < 11?).
  • Loading branch information
Matt Hillsdon committed Apr 19, 2017
1 parent 3309cd3 commit fc7f412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Autosuggest.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class Autosuggest extends Component {
}
}
},
onChange: event => {
onInput: event => {
const { value } = event.target;
const { shouldRenderSuggestions } = this.props;

Expand Down

0 comments on commit fc7f412

Please sign in to comment.