Skip to content

Commit

Permalink
Fixed oddness in IE input event handling. Fixes #373
Browse files Browse the repository at this point in the history
  • Loading branch information
gertsonderby committed Jan 27, 2017
1 parent 4d4b6ac commit 2cb4821
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const SearchPage = props => {
placeholder={props.pageDef.get('placeholder')}
value={props.searchQuery.get('text')}
onChange={searchChangeHandler}
onInput={searchChangeHandler}
onKeyPress={event => {
if (event.key === 'Enter') {
searchAction();
Expand Down
70 changes: 35 additions & 35 deletions Website/jspm.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ SystemJS.config({
"magicpen-media": "npm:magicpen-media@1.5.1",
"messy": "npm:messy@6.12.2",
"net": "npm:jspm-nodelibs-net@0.2.0",
"os": "github:jspm/nodelibs-os@0.2.0-alpha",
"os": "npm:jspm-nodelibs-os@0.2.0",
"punycode": "npm:jspm-nodelibs-punycode@0.2.0",
"querystring": "npm:jspm-nodelibs-querystring@0.2.0",
"rc-table": "npm:rc-table@5.0.3",
Expand All @@ -312,32 +312,32 @@ SystemJS.config({
"tty": "npm:jspm-nodelibs-tty@0.2.0",
"unexpected": "npm:unexpected@10.18.1",
"unexpected-messy": "npm:unexpected-messy@6.2.0",
"constants": "github:jspm/nodelibs-constants@0.2.0-alpha",
"assert": "github:jspm/nodelibs-assert@0.2.0-alpha",
"buffer": "github:jspm/nodelibs-buffer@0.2.0-alpha",
"child_process": "github:jspm/nodelibs-child_process@0.2.0-alpha",
"crypto": "github:jspm/nodelibs-crypto@0.2.0-alpha",
"domain": "github:jspm/nodelibs-domain@0.2.0-alpha",
"events": "github:jspm/nodelibs-events@0.2.0-alpha",
"fs": "github:jspm/nodelibs-fs@0.2.0-alpha",
"constants": "npm:jspm-nodelibs-constants@0.2.0",
"assert": "npm:jspm-nodelibs-assert@0.2.0",
"buffer": "npm:jspm-nodelibs-buffer@0.2.0",
"child_process": "npm:jspm-nodelibs-child_process@0.2.0",
"crypto": "npm:jspm-nodelibs-crypto@0.2.0",
"domain": "npm:jspm-nodelibs-domain@0.2.0",
"events": "npm:jspm-nodelibs-events@0.2.0",
"fs": "npm:jspm-nodelibs-fs@0.2.0",
"http": "github:jspm/nodelibs-http@0.2.0-alpha",
"https": "github:jspm/nodelibs-https@0.2.0-alpha",
"path": "github:jspm/nodelibs-path@0.2.0-alpha",
"https": "npm:jspm-nodelibs-https@0.2.0",
"path": "npm:jspm-nodelibs-path@0.2.0",
"process": "github:jspm/nodelibs-process@0.2.0-alpha",
"stream": "github:jspm/nodelibs-stream@0.2.0-alpha",
"string_decoder": "github:jspm/nodelibs-string_decoder@0.2.0-alpha",
"stream": "npm:jspm-nodelibs-stream@0.2.0",
"string_decoder": "npm:jspm-nodelibs-string_decoder@0.2.0",
"normalizr": "npm:normalizr@2.2.1",
"react-redux": "npm:react-redux@4.4.5",
"redux": "npm:redux@3.6.0",
"redux-thunk": "npm:redux-thunk@2.1.0",
"svg": "github:npbenjohnson/plugin-svg@0.1.0",
"url": "github:jspm/nodelibs-url@0.2.0-alpha",
"url": "npm:jspm-nodelibs-url@0.2.0",
"url-polyfill": "github:github/url-polyfill@0.5.6",
"util": "github:jspm/nodelibs-util@0.2.0-alpha",
"vm": "github:jspm/nodelibs-vm@0.2.0-alpha",
"util": "npm:jspm-nodelibs-util@0.2.0",
"vm": "npm:jspm-nodelibs-vm@0.2.0",
"wampy": "npm:wampy@4.0.0",
"whatwg-fetch": "npm:whatwg-fetch@1.1.1",
"zlib": "github:jspm/nodelibs-zlib@0.2.0-alpha"
"zlib": "npm:jspm-nodelibs-zlib@0.2.0"
},
packages: {
"npm:bn.js@4.11.6": {
Expand Down Expand Up @@ -829,49 +829,49 @@ SystemJS.config({
"punycode-browserify": "npm:punycode@1.4.1"
}
},
"github:jspm/nodelibs-buffer@0.2.0-alpha": {
"map": {
"buffer-browserify": "npm:buffer@4.9.1"
}
},
"github:jspm/nodelibs-stream@0.2.0-alpha": {
"github:jspm/nodelibs-http@0.2.0-alpha": {
"map": {
"stream-browserify": "npm:stream-browserify@2.0.1"
"http-browserify": "npm:stream-http@2.5.0"
}
},
"github:jspm/nodelibs-domain@0.2.0-alpha": {
"npm:jspm-nodelibs-domain@0.2.0": {
"map": {
"domain-browserify": "npm:domain-browser@1.1.7"
}
},
"github:jspm/nodelibs-zlib@0.2.0-alpha": {
"npm:jspm-nodelibs-zlib@0.2.0": {
"map": {
"zlib-browserify": "npm:browserify-zlib@0.1.4"
}
},
"github:jspm/nodelibs-string_decoder@0.2.0-alpha": {
"npm:jspm-nodelibs-stream@0.2.0": {
"map": {
"string_decoder-browserify": "npm:string_decoder@0.10.31"
"stream-browserify": "npm:stream-browserify@2.0.1"
}
},
"github:jspm/nodelibs-http@0.2.0-alpha": {
"npm:jspm-nodelibs-buffer@0.2.0": {
"map": {
"http-browserify": "npm:stream-http@2.5.0"
"buffer-browserify": "npm:buffer@4.9.1"
}
},
"github:jspm/nodelibs-url@0.2.0-alpha": {
"npm:jspm-nodelibs-crypto@0.2.0": {
"map": {
"url-browserify": "npm:url@0.11.0"
"crypto-browserify": "npm:crypto-browserify@3.11.0"
}
},
"github:jspm/nodelibs-os@0.2.0-alpha": {
"npm:jspm-nodelibs-os@0.2.0": {
"map": {
"os-browserify": "npm:os-browserify@0.2.1"
}
},
"github:jspm/nodelibs-crypto@0.2.0-alpha": {
"npm:jspm-nodelibs-string_decoder@0.2.0": {
"map": {
"crypto-browserify": "npm:crypto-browserify@3.11.0"
"string_decoder-browserify": "npm:string_decoder@0.10.31"
}
},
"npm:jspm-nodelibs-url@0.2.0": {
"map": {
"url-browserify": "npm:url@0.11.0"
}
}
}
Expand Down
39 changes: 17 additions & 22 deletions Website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,41 +90,41 @@
"zurvan": "npm:zurvan@^0.3.2"
},
"peerDependencies": {
"assert": "github:jspm/nodelibs-assert@^0.2.0-alpha",
"assert": "npm:jspm-nodelibs-assert@^0.2.0",
"bluebird": "npm:bluebird@^3.0.0",
"buffer": "github:jspm/nodelibs-buffer@^0.2.0-alpha",
"child_process": "github:jspm/nodelibs-child_process@^0.2.0-alpha",
"constants": "github:jspm/nodelibs-constants@^0.2.0-alpha",
"crypto": "github:jspm/nodelibs-crypto@^0.2.0-alpha",
"domain": "github:jspm/nodelibs-domain@^0.2.0-alpha",
"events": "github:jspm/nodelibs-events@^0.2.0-alpha",
"fs": "github:jspm/nodelibs-fs@^0.2.0-alpha",
"buffer": "npm:jspm-nodelibs-buffer@^0.2.0",
"child_process": "npm:jspm-nodelibs-child_process@^0.2.0",
"constants": "npm:jspm-nodelibs-constants@^0.2.0",
"crypto": "npm:jspm-nodelibs-crypto@^0.2.0",
"domain": "npm:jspm-nodelibs-domain@^0.2.0",
"events": "npm:jspm-nodelibs-events@^0.2.0",
"fs": "npm:jspm-nodelibs-fs@^0.2.0",
"http": "github:jspm/nodelibs-http@^0.2.0-alpha",
"https": "github:jspm/nodelibs-https@^0.2.0-alpha",
"https": "npm:jspm-nodelibs-https@^0.2.0",
"immutable": "npm:immutable@^3.8.1",
"magicpen-media": "npm:magicpen-media@^1.5.0",
"messy": "npm:messy@^6.12.0",
"module": "npm:jspm-nodelibs-module@^0.2.0",
"net": "npm:jspm-nodelibs-net@^0.2.0",
"os": "github:jspm/nodelibs-os@^0.2.0-alpha",
"path": "github:jspm/nodelibs-path@^0.2.0-alpha",
"os": "npm:jspm-nodelibs-os@^0.2.0",
"path": "npm:jspm-nodelibs-path@^0.2.0",
"process": "github:jspm/nodelibs-process@^0.2.0-alpha",
"punycode": "npm:jspm-nodelibs-punycode@^0.2.0",
"querystring": "npm:jspm-nodelibs-querystring@^0.2.0",
"react": "npm:react@^15.3.2",
"react-dom": "npm:react-dom@^15.3.2",
"redux": "npm:redux@^3.5.2",
"repl": "npm:jspm-nodelibs-repl@^0.2.0",
"stream": "github:jspm/nodelibs-stream@^0.2.0-alpha",
"string_decoder": "github:jspm/nodelibs-string_decoder@^0.2.0-alpha",
"stream": "npm:jspm-nodelibs-stream@^0.2.0",
"string_decoder": "npm:jspm-nodelibs-string_decoder@^0.2.0",
"tls": "npm:jspm-nodelibs-tls@^0.2.0",
"tty": "npm:jspm-nodelibs-tty@^0.2.0",
"unexpected": "npm:unexpected@^10.10.0",
"unexpected-messy": "npm:unexpected-messy@^6.0.0",
"url": "github:jspm/nodelibs-url@^0.2.0-alpha",
"util": "github:jspm/nodelibs-util@^0.2.0-alpha",
"vm": "github:jspm/nodelibs-vm@^0.2.0-alpha",
"zlib": "github:jspm/nodelibs-zlib@^0.2.0-alpha"
"url": "npm:jspm-nodelibs-url@^0.2.0",
"util": "npm:jspm-nodelibs-util@^0.2.0",
"vm": "npm:jspm-nodelibs-vm@^0.2.0",
"zlib": "npm:jspm-nodelibs-zlib@^0.2.0"
},
"overrides": {
"github:github/url-polyfill@0.5.6": {
Expand Down Expand Up @@ -226,11 +226,6 @@
"lodash": "^4.15.0",
"supports-color": "^3.1.2"
}
},
"npm:unexpected@10.18.1": {
"main": "unexpected.js",
"dependencies": {},
"jspmPackage": true
}
}
}
Expand Down

0 comments on commit 2cb4821

Please sign in to comment.