Skip to content

Commit

Permalink
fix(typo): Esacpe -> Escape (#22780)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro0218 authored Nov 16, 2021
1 parent aa19d56 commit f320ef8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function isValidKey(nativeEvent: KeyboardEvent): boolean {

function isTextInput(nativeEvent: KeyboardEvent): boolean {
const {key, target} = nativeEvent;
if (key === 'Tab' || key === 'Esacpe') {
if (key === 'Tab' || key === 'Escape') {
return false;
}
const {isContentEditable, tagName} = (target: any);
Expand Down

0 comments on commit f320ef8

Please sign in to comment.