-
Notifications
You must be signed in to change notification settings - Fork 826
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
Comma detection broken on foreign keyboards #22
Comments
Same problem with Russian "б". I need to try your fix. |
Thx, ishirav, had the same probles. U saved my time! |
I think this fix should be applied in the next release. Facing the same problem too. |
Thank you very much! |
Thanks ! |
thanks works. after two years and i agree with @PanJ this should get into next release |
Hi, |
Hi,
The way tag-it detects a comma keypress does not work on some keyboard layouts. For example, in the Hebrew keyboard layout the comma is on a different key, and where the comma usually is - there's the letter Tav. So when you use tag-it with such a keyboard, each time you try to input a word with Tav in it, the tag is closed instead.
I've implemented a very simple fix, which uses event.charCode to detect the comma instead of relying on $.ui.keyCode.COMMA
Handling the comma then has to be moved to the keypress event instead of keydown, because event.charCode is not available on keydown. See below:
The text was updated successfully, but these errors were encountered: