dillon1000/react
Commit
Browse files Normalize and polyfill KeyboardEvent further, also MouseEvent+TouchEvent
KeyboardEvent now normalizes "charCode", "keyCode", "which" across all browsers KeyboardEvent has partial "key"-support for KeyDown/KeyUp and full "key"-support for KeyPress. KeyboardEvent, MouseEvent and TouchEvent now has "getModifierState", polyfill when not implemented.
Changed paths7 files
First-parent comparisondocs/docs/ref-05-events.md ModifiedM src/browser/eventPlugins/SimpleEventPlugin.js ModifiedM src/browser/syntheticEvents/SyntheticKeyboardEvent.js ModifiedM src/browser/syntheticEvents/SyntheticMouseEvent.js ModifiedM src/browser/syntheticEvents/SyntheticTouchEvent.js ModifiedM src/browser/ui/dom/getEventKey.js ModifiedA src/browser/ui/dom/getEventModifierState.js AddedPatch
Files changed
Rendering syntax-highlighted changes…