react-input-trigger icon indicating copy to clipboard operation
react-input-trigger copied to clipboard

keyCode differs on AZERTY keyboard

Open lagroms opened this issue 3 years ago • 0 comments

Hello,

I'm trying to implement a mention system on my react app. I noticed that the keycode:50 and shiftkey:true will still be triggered even though the input will be '2' on an azerty keyboard. Knowing people might potentially use an azerty keyboard this is pretty blocking. Is there a way to trigger not based on a keyCode, but with a simple string comparison ?

Thanks

lagroms avatar Sep 22 '21 13:09 lagroms