@samitouri / QOS-React / commits / f320ef88f5

fix(typo): Esacpe -> Escape (#22780)

hiro committed Nov 17, 2021 at 06:43 UTC f320ef88f51fbdc5aba38bdf07108678a84f7339
1 file changed +1 -1
packages/react-interactions/events/src/dom/create-event-handle/Focus.js
+1 -1
@@ -69,7 +69,7 @@ function isValidKey(nativeEvent: KeyboardEvent): boolean {
69
70 function isTextInput(nativeEvent: KeyboardEvent): boolean {
71 const {key, target} = nativeEvent;
72 - if (key === 'Tab' || key === 'Esacpe') {
72 + if (key === 'Tab' || key === 'Escape') {
73 return false;
74 }
75 const {isContentEditable, tagName} = (target: any);