react-input-trigger
react-input-trigger copied to clipboard
keyCode differs on AZERTY keyboard
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