Skip to content

Commit

Permalink
Merge pull request #6484 from melloware/PR6481
Browse files Browse the repository at this point in the history
Fix #6481: KeyFilter handle AZERTY and dead keys
  • Loading branch information
nitrogenous authored Apr 29, 2024
2 parents 68a7593 + 0726537 commit 1f14eb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/lib/keyfilter/KeyFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export const KeyFilter = {
return;
}

const isPrintableKey = key.length === 1;
// some AZERTY keys come in with 2 chars like ´ç if Dead key is pressed first
const isPrintableKey = key.length <= 2;

if (!isPrintableKey) {
return;
Expand Down

0 comments on commit 1f14eb6

Please sign in to comment.