dillon1000/react
Commit
Browse files Add KeyboardEvent.code to synthetic event (#18287)
* Add KeyboardEvent.code to synthetic event * remove null to 0 transformation * make onKeyPress work
Changed paths2 files
First-parent comparisonpackages/react-dom/src/events/SyntheticKeyboardEvent.js ModifiedM packages/react-dom/src/events/__tests__/SyntheticKeyboardEvent-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…