-
Notifications
You must be signed in to change notification settings - Fork 723
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
beforeInsert insert functional keys as text on firefox #549
Comments
Vick-edit
changed the title
beforeInsert insert service keys as text
beforeInsert insert functional keys as text on firefox
Apr 17, 2017
Vick-edit
added a commit
to Vick-edit/Keyboard
that referenced
this issue
Apr 17, 2017
Vick-edit
added a commit
to Vick-edit/Keyboard
that referenced
this issue
Apr 17, 2017
…s in keypress event
Vick-edit
added a commit
to Vick-edit/Keyboard
that referenced
this issue
Apr 17, 2017
Vick-edit
added a commit
to Vick-edit/Keyboard
that referenced
this issue
Apr 17, 2017
Hi @Vick-edit! Sorry for not responding earlier... I had lots of distractions over this weekend. I'll take a look at this and the PR in more depth later today. |
Vick-edit
added a commit
to Vick-edit/Keyboard
that referenced
this issue
Apr 17, 2017
Vick-edit
added a commit
to Vick-edit/Keyboard
that referenced
this issue
Apr 17, 2017
Mottie
pushed a commit
that referenced
this issue
Jun 3, 2017
Thanks again, version 1.26.23 is now available. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Сonfiguration:
Action:
beforeInsert
event, that just returntextToAdd
Result:
Instead navigation by text we get symbols inserted in text.
Example:
http://jsfiddle.net/VikEdit/z3jtn6wy/
Cause
Before calling
jquery.keyboard.js#L806
We need analyze is it text, number key or functional key by
e.keyCode
ore.key.length
, cause firefox raise keypress event for functional keys too.I figured out, that when firefox raise
keypress
event for functional keys it put incorrect data inwhich
andcharCode
(charCode
alwayse is zero andwhich
zero or keyCode from table more often zero)The text was updated successfully, but these errors were encountered: