dillon1000/react

Commit

Add KeyboardEvent.code to synthetic event (#18287)

* Add KeyboardEvent.code to synthetic event

* remove null to 0 transformation

* make onKeyPress work
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/events/SyntheticKeyboardEvent.js ModifiedM packages/react-dom/src/events/__tests__/SyntheticKeyboardEvent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…