Skip to content

Commit fc7f412

Browse files
author
Matt Hillsdon
committed
Minimal fix to get IE/Edge working.
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?).
1 parent 3309cd3 commit fc7f412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Autosuggest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class Autosuggest extends Component {
254254
}
255255
}
256256
},
257-
onChange: event => {
257+
onInput: event => {
258258
const { value } = event.target;
259259
const { shouldRenderSuggestions } = this.props;
260260

0 commit comments

Comments
 (0)