-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chips separator not working on mobile #3885
Comments
@WMPerkele a few questions...
I want to see what Android and Opera is registering for that key. |
OK it because it was using the old keyboard |
The separator key was the default which was comma (,). Pressing the same key on the site that you gave gives me keycode 229 so im not sure if that helps |
It says "Undefined". Seems like this is an issue with onkeydown event and android devices |
Yikes that is bad as that means it doesn't conform to proper browser spec. I would report this to the Opera team. |
Actually what is the value of |
It seems Android supports |
Ive tested now on Opera, Chrome and Firefox for Android 12. Opera and Chrome seem to both return keycode 229, the key is "Unindentified" and the data is , On firefox it returns keycode 188 correctly with key being , (comma). However if i try using the Chips component on your Primereact docs site (https://www.primefaces.org/primereact/chips) it still wont work or recognize the separator key |
OK according to this https://caniuse.com/?search=event.key And https://caniuse.com/?search=event.code When I say |
Thanks this is a big help and will help me fix it. Do you mind sending me screenshots of BACKSPACE and ENTER key as well? |
Thanks this was a big help. I had to put in a special check for this 229 character as its not a comma on any other OS other than Android and these browsers. Very strange |
Describe the bug
When using the Chips component on mobile, the component does not recognize inputting the separator key.
Testing done on Opera for Android 12
PrimeReact version
8.1.1
React version
17.x
Language
ES6
Build / Runtime
Create React App (CRA)
The text was updated successfully, but these errors were encountered: