Skip to content

Commit

Permalink
Fix keycode value from mdn reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahejkm committed May 17, 2024
1 parent 325b4ec commit 51ab412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lexical/src/LexicalEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ function $canRemoveText(

function isPossiblyAndroidKeyPress(timeStamp: number): boolean {
return (
lastKeyCode === 'Dead' &&
lastKeyCode === 'MediaLast' &&
timeStamp < lastKeyDownTimeStamp + ANDROID_COMPOSITION_LATENCY
);
}
Expand Down

0 comments on commit 51ab412

Please sign in to comment.