Skip to content

Commit

Permalink
fix(searchBox): IE8, IE9 needs to listen for setQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo committed Jul 11, 2016
1 parent b290676 commit 97c166a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widgets/search-box/search-box.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ function searchBox({
// handle IE8 weirdness where BACKSPACE key will not trigger an input change..
// can be removed as soon as we remove support for it
if (INPUT_EVENT === 'propertychange' || window.attachEvent) {
addListener(input, 'keyup', ifKey(KEY_SUPPRESS, getInputValueAndCall(setQuery)));
addListener(input, 'keyup', ifKey(KEY_SUPPRESS, getInputValueAndCall(maybeSearch)));
}
}
Expand Down

0 comments on commit 97c166a

Please sign in to comment.