soywod / react-pin-field

📟 React component for entering PIN codes.
https://soywod.github.io/react-pin-field/
MIT License
413 stars 24 forks source link

I can still type in some accent caracters ( ^ or ¨ ) #5

Closed bluepioupiou closed 4 years ago

bluepioupiou commented 4 years ago

everything seems juste fin with other but a double tape on ^ or ¨ make them appears (and it doesn't pass to the next character) Capture d’écran de 2019-12-15 23-11-23

soywod commented 4 years ago

I can't reproduce. Which OS / browser did you use?

bluepioupiou commented 4 years ago

Ubuntu 18 and Chrome. It happens on regular input with preventDefault, out of React too

soywod commented 4 years ago

And which keyboard layout? I don't get, because I also have dead keys on my layout, and I can't fill them.

[Edit]: I tried with the french keyboard layout, and everything works as expected. Still can't reproduce.

bluepioupiou commented 4 years ago

hmm, it's odd. I have french keyboard and layout, no particular configuration after Ubuntu installation. It happens when you type twice on the ^ or maj and ^ (which give you a ¨). No other key give me that

soywod commented 4 years ago

Could you give the output of setxkbmap -query? I bet it's because of a particular layout variant.

bluepioupiou commented 4 years ago

rules: evdev model: pc105 layout: fr,fr variant: azerty,oss

soywod commented 4 years ago

It bugs with both variant azerty and oss?

bluepioupiou commented 4 years ago

I don't know, I can't change variant... I only have this Capture d’écran de 2019-12-16 14-41-27

bluepioupiou commented 4 years ago

And when i'm using AltrGr + 9 (for another caret), indeed no car in the input. It's when i'm using the one near the 'p' letter

soywod commented 4 years ago

Still can't reproduce with the same configuration (I used the variant azerty). If you tell me you have the same in a regular input with preventDefault(), I guess it comes from your installation (either OS or tools), not the lib. Did you try in an other browser?

soywod commented 4 years ago

Finally! I reproduced with fr layout, azerty variant and Firefox 69.0.2 (64-bit). I will investigate.

bluepioupiou commented 4 years ago

Ok but I really installed "only" Ubuntu 18.04 and made no change about keyboard or anything else. It fails on Firefox too. What OS do you have ?

bluepioupiou commented 4 years ago

My chrome version is 78. And indeed I tried on window and on Mac and it's working fine ><

soywod commented 4 years ago

Arch Linux 5.3.1, Chromium 77.0.3865.90. Indeed, it's a dead key problem, but seems to be handled differently by the browsers :rofl:

bluepioupiou commented 4 years ago

it's working now, thanks for the modifications