HomePhabricator
Diffusion Comm e47747b8327d

[Fix] Swapped deprecated keyCode to key.

Description

[Fix] Swapped deprecated keyCode to key.

Summary:
Swapped keyCodes to keys and changed values accordingly. We shouldn't allow keyCode to be added to codebase anymore.
Fixing: https://linear.app/comm/issue/ENG-2212/keyboardeventkeycode-is-deprecated-we-should-use-key-instead

Test Plan:
Chat input - sends message on enter
Color picker - I think we're actually using ColorSelector and this file is not used anywhere,
shoudl I create issue to delete it?
Modal overlay - modals still close on escape,
Calendar entry - blurs on escape,
Multimedia overaly - closes on escape,

Reviewers: tomek, kamil, atul

Reviewed By: tomek

Subscribers: ashoat, atul, kamil, tomek

Differential Revision: https://phab.comm.dev/D5756

Details

Provenance
przemekAuthored on Nov 29 2022, 8:39 AM
Reviewer
tomek
Differential Revision
D5756: [Fix] Swapped deprecated keyCode to key.
Parents
rCOMM884d82dd6b8e: Revert "Temporary changes for staff release"
Branches
Unknown
Tags
Unknown